Also, can anyone point me to the way to increase the frequency of labels along the horizontal axis? Right now there are only 5, when I have hundreds of data points. I don't need to include all of them, but increasing the current number would help make the graph a lot more readable.
On Thursday, July 4, 2013 2:30:04 PM UTC+2, Log Reader wrote: > > Hello, > > I am currently using a line chart to display events along a timeline. My > events are marked with a string timestamp in the form > hour:minute:second.millisecond. I am using a ChartRangeFilter as a > scrolling bar, which requires me to convert the string timestamp into a > number, milliseconds, and sort the events using this number. I am able to > create custom tool tips for each point which convert the number of > milliseconds back into a reasonable time stamp, but I am hoping to do that > for the labels along the horizontal axis as well. > > Unfortunately, I cannot use the hAxis.format in the form shown here: > https://developers.google.com/chart/interactive/docs/gallery/linechart > because > I need to do some division and subtraction to convert the number in > milliseconds to a time stamp in the form I desire. In short, I need to pass > the number to a function and display the result. > > Is this possible with the visualization API using line charts? Or, > conversely, is there a better way to do what I'm trying to do? > Thanks! > -- 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/groups/opt_out.
