Ok, I see what you need. If my assumptions are correct, you have 10 columns of data: 1 for date, and 1 for each license type for each currency. You then need two controls to select which column(s) of data to present in the chart. This is doable, but will require a bit of custom coding to make it happen, as there isn't anything in the API that will do this for you. As a starting point, I wrote a hack that turns the CategoryFilter control into a column selector (see http://jsfiddle.net/asgallant/WaUu2/); check it out and see if that works similar to what you want.
On Wednesday, January 23, 2013 3:21:26 PM UTC-5, Victor Capeluto wrote: > > I just need to compare how much each currency contribution and by license > type, so i have 3 differents amounts per currency because of license type. > > > > On Wed, Jan 23, 2013 at 3:15 PM, Sergey Grabkovsky > <[email protected]<javascript:> > > wrote: > >> Hi, I still need to know the exact format of your DataTable, since that >> will determine how you should proceed. asgallant actually brought up a good >> point that I didn't consider, which is did you want the other currencies to >> convert on the fly to whatever currency you have selected? Or did you just >> want to compare how much each currency contributed? >> >> - Sergey >> >> >> On Wed, Jan 23, 2013 at 3:11 PM, Victor Capeluto >> <[email protected]<javascript:> >> > wrote: >> >>> Hi Sergey, >>> >>> This is what i have now, that filter is not working and i need another >>> filter for the currency (i don't want to show all currencies like that). >>> Yes, the graph is by date so i need to show the total amount of >>> donations by currency and if is paid version/free version or both. >>> >>> >>> >>> >>> On Wed, Jan 23, 2013 at 2:34 PM, Sergey Grabkovsky >>> <[email protected]<javascript:> >>> > wrote: >>> >>>> Hello, it sounds like you want a >>>> LineChart<https://developers.google.com/chart/interactive/docs/gallery/linechart> >>>> with >>>> some >>>> Controls<https://developers.google.com/chart/interactive/docs/gallery/controls>. >>>> >>>> It sounds like you want something with two CategoryFilters (one for the >>>> currency and another for the profit). However, I'm a bit confused about >>>> how >>>> you intend to structure your data. Is this by date? If so, then does every >>>> row have both a cost and a revenue? Or does every row represent a sold >>>> copy? If that's the case, then I'm not sure how the advertising part fits >>>> in here. Do you have any data that I can look at (real or fake) to help >>>> you >>>> further? >>>> >>>> - Sergey >>>> >>>> >>>> On Wed, Jan 23, 2013 at 2:16 PM, Victor Capeluto >>>> <[email protected]<javascript:> >>>> > wrote: >>>> >>>>> I have been looking for a line graphic with 2 filters, i need to show >>>>> it as follows: >>>>> 1- The amount of advertising by currency (US$, EUR, CAD$) (i want to >>>>> have a filter for every currency) >>>>> 2- Total gross profit or profit divided by advertising or paid version >>>>> (is a license type of software) (i want to select one of those 3 options) >>>>> >>>>> Please help me with this I'm really late, google doesn't have good >>>>> help about this subjects! >>>>> >>>>> >>>>> Regards >>>>> >>>>> -- >>>>> 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/-/x2Kw7Nk6bTUJ >>>>> . >>>>> To post to this group, send email to >>>>> [email protected]<javascript:> >>>>> . >>>>> To unsubscribe from this group, send email to >>>>> [email protected] <javascript:>. >>>>> 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]<javascript:> >>>> . >>>> To unsubscribe from this group, send email to >>>> [email protected] <javascript:>. >>>> 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]<javascript:> >>> . >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:>. >>> 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]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> 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/-/qGiX2_NJRTEJ. 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.
