Thanks for this. Both you and asgallant have given me some ideas that I can play around with. I noticed that when I set the first column to a number, the graph now displays as a grid and the grids are visible in the chart area. Is there any way I can prevent the grids from showing within the chart area? i.e. I want to show the horizontal and vertical axis with the points in the graph but not the vertical and horizontal lines showing the intersections
On Oct 26, 12:53 am, Radhouene Gniwa <[email protected]> wrote: > To be able to do that The first column should be a number. With strings, the > chart renders with each row having its own axis tick. With numbers, it > renders the chart in coordinate grid system, which is what you need to > do.You need also to set the 'strictFirstColumnType' option to true to make > this work: > > 2011/10/26 NP <[email protected]> > > > > > > > > > I have a 2 column table with column headers Object, Count. > > > I have data given as (A, 2), (A, 5), (B,4), (C,3). A, B, C are the > > objects and the other values are the count > > > In the graph, the objects are the X-axis and the count is the Y-axis. > > > How do I plot a line graph so that object 'A' appears only once on the > > X-axis but it will show the points for both counts 2 & 5? > > > Right now, when I plot the graph, object 'A' appears twice on the > > graph - one for each of 2 and 5. > > > If I can't do this with a line graph, which other type of graph can I > > use? Basically I want to have a graph which will show distinct objects > > on the X-axis and the different counts encountered for the objects on > > the Y-axis and it is possible that an object might have different > > counts. > > > Thanks... > > > -- > > 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. -- 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.
