Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1640
<DATA_ROW> unavailable for gantt chart tooltip
posted

my gantt chart is bound to a DataTable, but the context["DATA_ROW"] is always 0 no matter which gantt chart bar is pointed to. It seems that <DATA_ROW>  is not available for gantt chart tooltip.

how do i retrieve the id of the data row in DataTable according to the chart bar the mouse is pointing to?

Thanks first.

Parents
No Data
Reply
  • 28496
    Verified Answer
    Offline posted

    because the data structure for gantt chart is not simply tabular, the DATA_ROW and DATA_COLUMN keys do not map well back to the source data table.

    here's how the context can be used to find the current point:

    DATA_ROW will be the index of the GanttSeries.

    DATA_COLUMN will be the index of the GanttItem - this is a counter that accumulates for items across all series

    TIME_ENTRY_INDEX will be the index of the time entry within the GanttItem.

Children