Hi,

I try to use the Google Charts webcomponents. I followed the instruction 
here: 
https://googlewebcomponents.github.io/google-chart/components/google-chart/, 
but I'm failing to get the selection property working.

I have a report that contains 6 columns, but I only need two of them. As I 
have multiple of those reports and I don't want to create multiple version 
of the same report only differing in the amount of columns, I wanted to use 
the selection property like this.

  <google-chart  

    type='combo' 

    .data='${data}' 

    options='{"isStacked":"true", "title":"${title}" 

    , "hAxis":{"title“:“Week“ }  

    , "vAxis":{"title“:“Fruits“}  

    , "seriesType":"steppedArea" 

    , "series" : {„6“:{„type":"line"}} }' 

    selection='[{"column":"4"},{"column":"6"}]' 

    > 

</google-chart>



But I always end up with all 6 columns in the chart.

Best regards,

Andreas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/7db25d20-3f61-4bf9-8d81-f00b140cfc7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to