Jump to content
JChartFX Community
  • 0

Zoom ScrollBar


Question

Hello ,

I have looked into the zoom scrollbar sample (http://www.jchartfx.com/demo.aspx?ID=78ae8379-89de-430c-b7bf-35455da35bb3).

It looks very nice, However when replacing the chart type to any something different from Area (e.g. Bar , Line) the sample stoped working.

Any ideas ?

Could you post me a zoom scrollBar sample that works with Line and Bar ?

It would be nice if you could post me an html page containing this working sample.

Thx

Sagi Intel Corp.

Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

"This sample uses X data" means the sample in question uses dates as the X axis values and if you check closely the points are not equally spaced in the X axis.

Most of the other samples do not use X data, some pass data manually using getData().setItem, others will use setDataSource with an array of objects, in the zoom data we are using X data by using FieldUsage.XValue with the date field, you can try out without X data by using FieldUsage.None.

Also, what I tried to say in my original reply was that the bar gallery does not support X values.

JuanC

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...