That worked great! Thank you. Sorry to keep bugging you, but I ran into another (big) snag that is out of my range of capabilities.. The problem is that I am plotting multiple series and they do not share x or y values. For example, SeriesA uses the (x,y) points of (1,3);(2,6);(3,8);(4,9),... but SeriesB uses (0.8, 1.8);(1.6,2.4);(2.4,5.6);(3.8,7.5),... Is there a way to use the x and y coordinates to plot the lines instead of requiring all x values to be fixed? Currently, the numbers in col1 are the x points for both SeriesA and SeriesB; col2 numbers are y points for Series A; col3 numbers are y points for SeriesB. Is there a way to do both (x,y) coordinate points in a single column? And, if so, how would the calculation code be set up for it.? My current set up is here: http://jsfiddle.net/LWDP4/6/
Also, I will end up with quite a few lines, so I would like to set up check boxes to toggle them visible/invisible, and (if possible) I'd like each checkbox to be associated with two separate series. To explain: There are 4 lines in my chart, and the top blue and top gray lines represent data for the same 100 PSI Air Supply Line (so they share the label "100 PSI Air Supply"). The second blue and second gray lines represent the 90 PSI Air Supply data. So if I could associate the blues line with their corresponding gray lines and allow users to toggle visibility on/off via checkbox, it would simplify things for the user. (oh, and if it helps, the x value for both the blue line and corresponding gray line would always be the same). Lastly, I found this focusTarget: 'category', in the documentation. It allows me to put all of the y data for each x value in a tooltip. It seems logical that if the associated blue and gray lines share the same x value with each other but not with other the series, the only those two values would go into the tool tip if I could set points. Is that correct/possible? Thanks again. Side note: I've noticed that you are answering a lot of questions on this forum. Hopefully, I'll learn enough of the code during this project so I can help you help others (because I know how it feels to be one of a few guys answering tough questions for dozens of people). On Tuesday, September 18, 2012 5:41:00 PM UTC-6, Gizamo wrote: > > Hello. I'm trying to make something similar to this line graph: > http://jsfiddle.net/LuP4K/ > > The actual chart layout I'm trying to replicate is here: > http://wkfluidhandling.com/media/images/performance-curves/psu060-performance-curves-665x435.png > (but I'd like to use only Standard or Metric units and allow the user to > choose whichever they prefer with a toggle button). > > Anyway, it was simple enough to setup in Highcharts, but I can't seem to > figure out how to create a GoogleCharts version of it (in part because I am > struggling with the API features/language). Can someone please get me > started in the correct path? > -- 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/-/MsM9T52V-VIJ. 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.
