Hi Paulo. Why don't you apply a Number Range <https://developers.google.com/chart/interactive/docs/gallery/controls#numberrangefilter> filter to the data? Filters can be set to default to a certain range, so if you applied the filter to your WeekNumber column you could set it to default to the last 10. Benefit of this is that, if the user wanted to, they could use the filter to view previous data too.
https://developers.google.com/chart/interactive/docs/gallery/controls#numberrangefilter On Monday, 18 May 2015 16:11:16 UTC+1, Paulo Elifaz Andrielli wrote: > > Hi folks, > > no answer on this? > > I would like to show a chart with some weeks (like, 10 weeks), but I dont > want to remove the previous weeks information from the CSV. So far, Im > doing this manually, and need to save on a separate file. > > I believe it should have a visualization to show only last "x" lines from > a record, right? > > Thanks for any help! > > []´s > Paulo > > Em sexta-feira, 17 de abril de 2015 16:32:12 UTC-3, Paulo Elifaz Andrielli > escreveu: >> >> Hi gentlemen, >> >> I'm now doing some charts using this API based on a CSV file (I'm also >> using JQuery). >> >> We have a CSV file with some weekly measures (one week on each line), but >> we would like tho show only a predefined amount of weeks (10, for >> instance). So, I have a CSV file with more than 100 lines (values from past >> year), but we would like to show only the 10 last weeks. >> >> Is that possible? Is this something that needs to be done on API side, or >> on JQuery side? >> >> Thanks! >> >> []´s >> Paulo >> > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
