I'm not sure I understand what the scale level changes. Does it control the range of the data to show? That is, when the user selects 'year' he will see data for the entire year, and on 'month' will see just the last month?
To achieve this the best thing to do is replace the DataTable when the user clicks the button. Another way would be to restrict the data you show using vAxis.viewWindow (see documentation under http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html#Configuration_Options ). You can control the format of the axis labels using the vAxis.format option. On Thu, Oct 27, 2011 at 11:04 AM, Radhouene <[email protected]>wrote: > Hello, > I work with LineChart and i have buttons to set scale level (year, > month, week..). I want that Y axis labels follow scale. for example, > if i choose month scale, Y axis labels should be 01-02-03.....29-30 . > How do that? > Thanks in Advance !! > > -- > 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.
