Re: [visualization-api] Combo charts: Accessing more configuration options for each series type

124 views
Skip to first unread message

ChartMan

unread,
Jun 26, 2012, 5:37:22 AM6/26/12
to google-visua...@googlegroups.com
Most relevant options can be controlled on the series level in the following way
instead of pointSize you can write series.0.pointSize to set the point size of only the first series.

Please refer the the documentation for more info:
https://developers.google.com/chart/interactive/docs/gallery/combochart#Configuration_Options

On Tue, Jun 26, 2012 at 12:19 AM, Jan <jmr.j...@gmail.com> wrote:
In a combo chart, is there a way to access more configuration options for a particular series type?

For example, if my combo chart consists of columns and a steppedArea, and I wish to access the stepped area configuration connectSteps, how do I achieve this?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/UIonZx7dZckJ.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

Jan

unread,
Jun 26, 2012, 12:54:43 PM6/26/12
to google-visua...@googlegroups.com
Hi,

I understand pointSize is a property you can set in the series configuration option. However, my question is about setting configuration options other than the ones given in https://developers.google.com/chart/interactive/docs/gallery/combochart#Configuration_Options.  

So, instead of type, colortargetAxisIndexpointSizelineWidth, etc., I want to be able to set more configuration options. 

In my first post, I wanted to set the connectSteps property of a steppedArea chart from a combo chart. So something like this would be great:

ac.draw(data{
    ...
    series{5{ type"line"steppedAreafalse}},
    ...
  }); 

Is this possible?



On Tuesday, June 26, 2012 2:37:22 AM UTC-7, h wrote:
Most relevant options can be controlled on the series level in the following way
instead of pointSize you can write series.0.pointSize to set the point size of only the first series.

Please refer the the documentation for more info:
On Tue, Jun 26, 2012 at 12:19 AM, Jan <jmr.j...@gmail.com> wrote:
In a combo chart, is there a way to access more configuration options for a particular series type?

For example, if my combo chart consists of columns and a steppedArea, and I wish to access the stepped area configuration connectSteps, how do I achieve this?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/UIonZx7dZckJ.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.

Jinji

unread,
Jun 26, 2012, 1:06:45 PM6/26/12
to google-visua...@googlegroups.com
The connectSteps is available for ComboChart as it's available for SteppedAreaChart (we forgot to document it). This means you can use it like:
chart.draw(data, {connectSteps: false, ...});

Using it in the series option, so each series can have a different value for this option, is not supported at the moment.

To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/mBYACwoVYGwJ.

To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.

Jan

unread,
Jun 26, 2012, 1:19:10 PM6/26/12
to google-visua...@googlegroups.com
AH! Thank you so much!! I've tried figuring this out on my own in so many ways, but for some reason it never occured to me to try it in the options level.

For my own purposes, I don't really need to be able to set this property in the series level. Although it would make sense to have it there, in my opinion.

In any case, thank you so much!

To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
Reply all
Reply to author
Forward
0 new messages