aarthi ramaprasad
aarthi ramaprasad

Reputation: 55

use of annotatedTimeLine plugin in jqPlot

I am a newbie to jqPlot and I am currently using it to generate charts based on some statistics. I would like to use the annotated timeline for one of my charts. I found the plugin at https://bitbucket.org/j5bot/jqplot . Is there any sample code to demonstrate this usage? I tried using it in the series defaults options as:

seriesDefaults: {renderer:annotatedTimelineRenderer}

But it doesn't seem to be working. Can someone please give an example of it's usage?

Thanks in advance.

Upvotes: 3

Views: 946

Answers (1)

mcProgrammer
mcProgrammer

Reputation: 373

As far as I can tell, j5bot created a fork of the main jqPlot code, especially for timelines. J5 talks about it in a Google Group and provides a screencast of what it can do here. There seems to be an additional example file provided in j5bot's fork (examples/rangeSelector.php), and although I don't see it explicitly calling the annotatedTimelineRenderer, I can't really imagine what else the example file would be for, so this is probably the place to start.

J5bot also made changes to other files, so you'll need to get those versions too - not just drop the plugin into Chris' jqPlot code.

Upvotes: 0

Related Questions