Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Using pointClick on grid charts

    Hi,

    Is there a way to get the X value of the grid chart from pointClick() call?
    If I call pointClick(value, record) on a grid chart, the value will be the value of the corresponding cell in a row, and the record is the row record itself. How do I get the cell number in this case (corresponding Y value / label)? if it's possible to get the index of the data point (first to last) that would be helpful too.
    Basically, when I click on the chart data points, I need to emulate behavior of ListGrid.recordClick() and get either field or fieldNum for that data point (cell).



    thank you.

    #2
    It looks like you may not have noticed facetChart.getNearestDrawnValue(), demonstrated in this sample among others.

    Comment


      #3
      Thank you. nearestDV.facetValues.columnFacet gives me what I was looking for.

      Comment

      Working...
      X