On Mon, May 18, 2009 at 5:31 PM, VizBoy <viz...@google.com> wrote: > These are two different questions. > Let's separate the discussion. > > 1. Can line chart support a value based X axis? > > The answer is no, because this is the common use of a line chart. A scatter > chart can have a line, and that it on our feature request list, but a line > chart is almost always category based. Look in Microsoft Excel for instance, > and you'll see a similar behavior.
Oh I see, I was confused LineChart with XYChart (which is a ScatterChart). If ScatterChart can have lines (just like Excel), it's what I need actually. It'd be much appreciated if this feature is realized soon :) That's one of the most important basic functionality for XYChart. > 2. Can line chart support a number datatype even though it treats it as > category/label based? > In this case, it's a more delicate question. > Usually you can circumvent this problem by casting to String in the > javascript. > It is also in our roadmap to add a means in the query langauge to do type > casting. > Do you still see this as a needed feature to support numbers? Type conversion can be done easily, so it's not an issue for me. However it's somehow annoying when we forgot to cast it to string and the viz complaints about mismatch data type. I think it's better to convert the values automatically to the specified column data type (since this is what we want). Thanks, Felix Halim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to google-visualization-api@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---