public final class ChartPointerOptionsBuilder extends Object
ChartPointer.ID plugin options by a builder.| Modifier and Type | Method and Description | 
|---|---|
ChartPointerOptions | 
build()
Returns a configured plugin options. 
 | 
static ChartPointerOptionsBuilder | 
create()
Returns new builder instance. 
 | 
static ChartPointerOptionsBuilder | 
create(IsChart chart)
Returns new builder instance using the chart global options. 
 | 
ChartPointerOptionsBuilder | 
setCursorPointer(CursorType cursor)
Sets the cursor type when the cursor is over the dataset item. 
 | 
ChartPointerOptionsBuilder | 
setElements(PointerElement... elements)
Sets the chart elements in scope to  
ChartPointer.ID plugin. | 
public static ChartPointerOptionsBuilder create()
public static ChartPointerOptionsBuilder create(IsChart chart)
chart - chart instance related to the plugin optionspublic ChartPointerOptions build()
public ChartPointerOptionsBuilder setElements(PointerElement... elements)
ChartPointer.ID plugin.elements - the chart elements in scope to ChartPointer.ID pluginpublic ChartPointerOptionsBuilder setCursorPointer(CursorType cursor)
cursor - cursor type when the cursor is over the dataset item