I think i can do this by using the following function setColumnProperty, does anyone know the name of the porperty i need to change? i have tried ValueType but no joy
Thanks On Monday, March 5, 2012 1:22:47 PM UTC, R22MPM wrote: > > That page is using hardcoded values though isnt it? > > The issue i have is that i need to change the JSON column format which is > always string when using a CSV file? > > > > On Sunday, March 4, 2012 1:59:57 PM UTC, Yuval Ronen wrote: >> >> Not all columns will be of type string, you choose the type. See the Java >> code snippet in the page you mentioned ( >> http://code.google.com/apis/chart/interactive/docs/dev/dsl_get_started.html#introducing). >> >> Some columns are of type ValueType.TEXT, some are of type ValueType. >> NUMBER, and so on. >> >> On Fri, Mar 2, 2012 at 6:07 PM, R22MPM <[email protected]> wrote: >> >>> Hi All, >>> I am a newbie to Coogle charts and have been running through the >>> following tutorial regarding connecting CSV files into charts. >>> >>> >>> http://code.google.com/apis/chart/interactive/docs/dev/dsl_get_started.html#webapp >>> >>> I have a question which im hoping is pretty simple (i have limited JS >>> knowledge) >>> >>> I would like to use Gauge and Bar charts with the CSV data but as i >>> understand it the columns will always be flagged as string, so my question >>> is how and where do i convert the value column to a number? >>> >>> Thanks >>> Matt >>> >>> -- >>> 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/-/LzWBFC1GzaEJ. >>> 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 view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/9ao7C5_IT2sJ. 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.
