Rendering Multiple (data) Points/Lines etc on ONE Chart

56 views
Skip to first unread message

Jim Goebel

unread,
Mar 4, 2014, 8:50:32 PM3/4/14
to google-visua...@googlegroups.com
Hi,

I'm starting a business and by no means the technology person, but am wanting to start lean and mean - and am going to be in need of some pretty flexible web based rendering.

So far it appears that the charts that are created have to be categorized as the various types available - but what I'm in need of is the flexibility to have various data types represented on one chart.  For instance, I need to be able to show line graphs, as well as points (like scatter points), as well as impulses or bar displays all on the same chart..

ALSO WITH..

being able to toggle Y-axis selections,
being able to update and re-render in real time.

From my very base research it appears that Google Charts is reasonably powerful and easy to pick up, but I'm going to be needing all the flexibility listed above down the road..

Does anyone have any suggestions on this?

Sergey Grabkovsky

unread,
Mar 5, 2014, 9:36:08 AM3/5/14
to google-visua...@googlegroups.com
I'm not 100% sure what you mean by "being able to toggle Y-axis selections," but google charts definitely supports showing points and lines on the same chart (as well as bars and area, and candlesticks).

- Sergey


--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

asgallant

unread,
Mar 5, 2014, 10:23:07 AM3/5/14
to google-visua...@googlegroups.com
By y-axis selections, do you mean turning data series on and off?  I have a couple of examples that demonstrates different ways of doing this.  The first hacks a CategoryFilter to do the job of selecting columns instead: http://jsfiddle.net/asgallant/WaUu2/.  The second allows users to turn data series on and off by clicking legend entries: http://jsfiddle.net/asgallant/6gz2Q/.  These are by no means the only ways of accomplishing the task, so if you have something else in mind, it is probably doable.

Jim Goebel

unread,
Mar 5, 2014, 9:33:28 PM3/5/14
to google-visua...@googlegroups.com
The 2nd example gets us part of the way there.  The first response states that it's definitely possible to show impulses, points, and line graphs all on the same chart.  Good to know...  Does anyone have any examples of this in action?


--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/eXNazLa5rG4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

Sergey Grabkovsky

unread,
Mar 6, 2014, 10:16:03 AM3/6/14
to google-visua...@googlegroups.com
The documentation for the ComboChart has examples of how to mix types. Strictly speaking, we don't have a 'scatter' series type, but you can do a line with zero lineWidth and that will effectively be a scatterplot.

- Sergey


--
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-visualizati...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages