Drag Points

From Documentation
Revision as of 08:49, 17 March 2021 by Hawk (talk | contribs) (Created page with "{{ZKChartsEssentialsPageHeader}} You can enable draggable-points for one or all series, then users can drag to move a data point in a chart: [[File:draggable-point.gif | center...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You can enable draggable-points for one or all series, then users can drag to move a data point in a chart:

Draggable-point.gif

DraggablePointComposer.java

    private Charts chart;
...

        //enable drag and drop for a specific series
        chart.getSeries().getDragDrop().setDraggableY(true);
        //enable drag and drop for all series
        chart.getPlotOptions().getSeries().getDragDrop().setDraggableX(true);


Reference: Highcharts API Rerenence


< Get Complete Source Code of This Book >


Last Update : 2021/03/17

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.