Jump to content
JChartFX Community
  • 0

Chart Driil down


I have seen your drill down samples (under demo tab) and I have 2 question about it :

1. can you capture a right click instead of a left mouse click ?

2. the evt args (point & series) retrieves the point and series indexs. How do I the point y value and x-label ?

I used : var point = chart1.getPoints().getItem(iSeries, iPoint); to get the point object. Now how do I retrieve the value and x-label ?



Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

 chart.getPoints() will only give you access to per-point attributes.

To retrieve the value you would use chart.getData().getItem(seriesIndex, pointIndex)

To retrieve the X axis label you would use chart.getAxisX().getLabels(pointIndex)


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.

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.

  • Create New...