see inline On Tue, Aug 4, 2009 at 11:40 PM, RR <[email protected]> wrote:
> > Thank you. > I am now working on Annotated timeline charts as you suggested. > Could you please tell me how is getVisibleChartRange method exposed to > be used in Java code? > It is exposed in the chart GWT wrapper - http://code.google.com/p/gwt-google-apis/source/browse/trunk/visualization/visualization/src/com/google/gwt/visualization/client/visualizations/AnnotatedTimeLine.java Is this an option at all for Annotated timeline charts? > What other annotated timeline charts are you referring to. I am actually trying to manipulate the display of date range on my > charts. Is there some other way to do it? > Appreciate your help. > You can do that by calling setVisibleChartRange(Date startTime, Date endTime ) Let me know if you need more help ChartMan > On Jul 30, 9:04 am, ChartMan <[email protected]> wrote: > > Today the line chart only support labels for the x-axis and so whatever > you > > pass in will be treated as a string and will be equally populated on the > > x-axis. > > We are addressing this issue but I can not provide a time line. In the > mean > > while you may try the annotated time linehttp:// > code.google.com/apis/visualization/documentation/gallery/annot... > > > > ChartMan > > > > On Wed, Jul 29, 2009 at 8:52 PM, RR <[email protected]> wrote: > > > > > My requirement is to plot a set of Date-Value pairs on a line chart. > > > It works perfectly well if the data passed to the Linechart has equal > > > distribution of dates, e.g. 01JAN2009, 01FEB2009, 01MAR2009, > > > 01APR2009, 01MAY2009 > > > Problem arises when the date range is not equal. So, for example, if > > > in my list of data if the date and values are as follows: > > > 21JAN2007 – 45 > > > 16MAY2008 – 68 > > > 19SEP2009 – 56 > > > 29OCT2009 – 78 > > > 05NOV2009 – 67 > > > 15DEC2009 – 76 > > > > > Linechart is plotted literally. That is, the x-axis will have the > > > above dates plotted as it is. As a result, it does not display the > > > correct trend. > > > > > I am passing the x axis as ColumnType.DATE, thinking that the API > > > should take care of normalizing the dates before plotting the graph. > > > However, it doesn't. > > > > > Is there a way to normalize the dates so that it shows the fairly > > > correct curve on the line chart? > > > Any help would be greatly appreciated. > > > > > Thanks. > --~--~---------~--~----~------------~-------~--~----~ > 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]<google-visualization-api%[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.
