Ah, yes. When I said "ComboChart supports all of the above types" I forgot bar chart is also on that list :) By "all" I meant "including stepped-area and candlestick". Anyway, column chart is supported, and that's what makes sense.
On Thu, Mar 29, 2012 at 5:06 PM, asgallant <[email protected]>wrote: > Y'know, I hadn't thought of that, but I suppose its a pretty good reason. > How would the Bar charts work with the others in a combo, though, given > that they work on a different axis? > > On Thursday, March 29, 2012 9:16:14 AM UTC-4, Yuval Ronen wrote: >> >> Mixing ScatterChart and AreaChart isn't currently possible, and also >> isn't planed, and I want to take this opportunity to explain the rationale >> behind it. >> >> Area/Line/Column/Bar/**SteppedArea/Candlestick charts are all "function >> charts". "Function" as in "mathematical function" - something that maps >> values from some domain to target values. The domain can be either >> discrete or >> continuous<http://code.google.com/apis/chart/interactive/docs/customizing_axes.html#Discrete_vs_Continuous>, >> and each domain value has exactly one target value (or null). Each function >> chart can have multiple series, where each series is a single mathematical >> function, configured by the series option, and all series in the chart >> share the same domain. ComboChart is a function chart where each series can >> be of different type, from the above types (yes, all of the above types, >> the docs are out-dated). >> >> ScatterChart, on the other hand, is not a function chart. Each "domain" >> value can have multiple "target" values, even within the same series (and >> therefor the terms "domain" and "target" aren't really accurate for scatter >> chart). That's why scatter chart and function charts don't mix, at least >> not easily. >> >> That said, you can try a ComboChart with 2 series, one of them configured >> with {type: 'area'} and the other configured with {type: 'line', >> lineWidth: 0, pointSize: 7}. This might be good enough for you. >> > -- > 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/-/Cj07tOYyNZYJ. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
