The API to allow the user set a node to highlight is provided through ICircularSeries.setHighlightedNode(Node node);
The API to retrieve the highlighted node can be accessed through ICircularSeries.getHighlightedNode();
The customisation of highlighted node's boundary line colour and boundary line width can be customised though ICircularChartSettings or ICircularSeries
User has the option to set what happens when a node is clicked on.. Highlight or redraw from it, by setting ICircularSeriesSettings.setRedrawOnClick(boolean); to false or true.
API to get the Pie Slice (Node) from a given position is implemented by both ICircularSeries.getPieSliceFromPosition(double x, double y) , and ICircularSeries.getPieSliceFromPosition(int x, int y).
API to get the percentage that a particular PieSlice is of the rootPointer node is available at ICircularSeries.getSlicePercent(String id);
Custom chart was created to highlight nodes when clicked upon. (May be changed or even removed if anyone has any issues with it.)
Example part was created for the custom chart.
The circular series now makes most use of the space available to it... (This may look weird, so maybe we should allow a setting for it.)
ICircularSeries.setHighlightedNode(Node node);
ICircularSeries.getHighlightedNode();
ICircularSeriesSettings.setRedrawOnClick(boolean);
to false or true.ICircularSeries.getPieSliceFromPosition(double x, double y)
, andICircularSeries.getPieSliceFromPosition(int x, int y)
.ICircularSeries.getSlicePercent(String id);