Sajeevi, Use a DataView (http://code.google.com/apis/visualization/ documentation/reference.html#DataView).
Make your underlying table with whatever columns, then construct a set of checkboxes corresponding to the columns, and a data view that takes the DataTable as its source. Populate the columns of the DataView (setColumns) based on whether the corresponding box is checked. I hope this helps. Best, LH On Dec 16, 9:35 pm, "[email protected]" <[email protected]> wrote: > Hi team, > > what i want to do is displayed in the following link > > http://finance.google.com/finance?q=NASDAQ%3AVRTU > > can some one please explain me how this is done. > > Thanks & best Regards, > Sajeevi > > On Dec 16, 4:02 pm, "[email protected]" > > <[email protected]> wrote: > > Hi Team, > > > In annotation timeline graph when the we add many columns to that > > chart then it is not readable. > > can i know is there any way we can select the columns by the user. > > > i.e. > > data.addColumn('date', 'Date'); > > data.addColumn('number', 'Sold Pencils'); > > data.addColumn('number', 'Sold Books'); > > data.addColumn('number', 'Sold Pens'); > > data.addColumn('number', 'Sold Rulers'); > > data.addColumn('number', 'Sold Bags'); > > data.addColumn('number', 'Sold Shoes'); > > data.addColumn('number', 'Sold Erasers'); > > ............ > > > from the UI the user should be able to select one or many columns by > > check in the check box and then see the graph for that selected > > columns only. > > > Thanks & best regards, > > Sajeevi. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
