OptVis Module

class epyk.core.data.DataClass.DataClass(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
add(name: str, value: Any)

Add the key and value to the final result object.

Parameters:
  • name – The key in the final data dictionary.

  • value – The value in the final data dictionary.

attr(name: str, value: Any)

Add an attribute to the Javascript underlying dictionary.

Parameters:
  • name – The attribute name

  • value – The attribute value

Returns:

“Self” to allow the chains on the Python side

attrs()
config_attrs(options: Optional[dict] = None) str

Get the attributes in a string.

Parameters:

options – Dictionary with specific attributes to be set

custom(name: str, value: Any)

Custom function to add a bespoke attribute to a class.

This entry point will not be able to display any documentation but it is a shortcut to test new features. If the value is a Javascript object, the PyJs object must be used.

Parameters:
  • name – The key to be added to the attributes

  • value – The value of the defined attributes

Returns:

The DataAttrs to allow the chains

get(dfl: Optional[Union[str, bool, int, dict, list, float]] = None, name: Optional[str] = None)

Get the attribute to the underlying attributes dictionary.

Parameters:
  • dfl – Optional. The default value of this attribute

  • name – Optional. The attribute name. default the name of the function

has_attribute(cls_obj)

Add an extra sub layer to the data structure.

The key in the object representation will be the function name.

Parameters:

cls_obj – Class. The sub data class used in the structure definition

set(value: Any, name: Optional[str] = None)

Add an attribute to the Javascript underlying dictionary.

Parameters:
  • value – The attribute value

  • name – Optional. The attribute name. default the name of the functin.

Returns:

“Self” to allow the chains on the Python side

sub_data(name: str, cls_obj)

Add an extra sub layer to the data structure. The key in the object representation will be the function name.

Should use has_attribute is the name can be deduced from the parent function.

Parameters:
  • name – The key to be added to the internal data dictionary

  • cls_obj – Class. Object. The object which will be added to the nested data structure

sub_data_enum(name: str, cls_obj)

Add key to a sub dictionary. This will create an attribute object with a nested structure.

Parameters:
  • name – The key to be added to the internal data dictionary

  • cls_obj – Class. Object. The object which will be added to the nested data structure

update(vals: dict)

Update the object internal attributes.

Parameters:

vals – All the attributes to be added to the component

class epyk.core.data.DataClass.DataEnum(component, value: Optional[Any] = None)
custom(value: str)

Set a custom value.This will not use any specific conversion.

Parameters:

value – The value to be set.

set(value: Optional[Union[JsDataModel, str]] = None)

Set the selected value in this enumeration. The last function call will be persisted.

Parameters:

value – Optional. The value to be set (default is the function name).

class epyk.core.html.options.OptVis.Enum3dStyles(component, value: Optional[Any] = None)
class epyk.core.html.options.OptVis.EnumAlign(component, value: Optional[Any] = None)
class epyk.core.html.options.OptVis.EnumNodeShapes(component, value: Optional[Any] = None)
class epyk.core.html.options.OptVis.EnumOrientation(component, value: Optional[Any] = None)
class epyk.core.html.options.OptVis.EnumPointsStyle(component, value: Optional[Any] = None)
class epyk.core.html.options.OptVis.OPtionsHierarchical(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property blockShifting

Method for reducing whitespace. Can be used alone or together with edge minimization. Each node will check for whitespace and will shift it’s branch along with it for as far as it can, respecting the nodeSpacing on any level.

This is mainly for the initial layout. If you enable physics, the layout will be determined by the physics. This will greatly speed up the stabilization time though!

Related Pages:

property edgeMinimization

Method for reducing whitespace. Can be used alone or together with block shifting. Enabling block shifting will usually speed up the layout process. Each node will try to move along its free axis to reduce the total length of it’s edges. This is mainly for the initial layout. If you enable physics, the layout will be determined by the physics. This will greatly speed up the stabilization time though!

Related Pages:

property enabled

Toggle the usage of the hierarchical layout system. If this option is not defined, it is set to true if any of the properties in this object are defined.

Related Pages:

property levelSeparation

The distance between the different levels.

Related Pages:

property nodeSpacing

Minimum distance between nodes on the free axis. This is only for the initial layout. If you enable physics, the node distance there will be the effective node distance

Related Pages:

property parentCentralization

When true, the parents nodes will be centered again after the layout algorithm has been finished.

Related Pages:

property treeSpacing

Distance between different trees (independent networks). This is only for the initial layout. If you enable physics, the repulsion model will denote the distance between the trees.

Related Pages:

class epyk.core.html.options.OptVis.OptionAxis(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property left

OptionRange

Type:

rtype

property right

OptionRange

Type:

rtype

class epyk.core.html.options.OptVis.OptionAxisPosition(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property range

OptionRange

Type:

rtype

class epyk.core.html.options.OptVis.OptionBarChart(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property align

The alignment of the bars with regards to the coordinate. The options are ‘left’, ‘right’ or ‘center’.

Related Pages:

Return type:

EnumAlign

property minWidth

by default the bars get smaller while zooming out to prevent overlap, this value is the minimum width of the bar. Default behavior (when minWidth is not set) is 10% of the bar width.

Related Pages:

Type:

The minimum width of the bars in pixels

property sideBySide

If two datapoints of a barchart overlap, they are drawn over eachother by default. If sideBySide is set to true, they will be drawn side by side, within the same width as a single bar.. See example 10 for more information. When using groups, see example 11.

Related Pages:

property width

The width of the bars

Related Pages:

class epyk.core.html.options.OptVis.OptionColor(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionContent(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionDot(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionEdge(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionFont(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionInteraction(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionLabel(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property drawThreshold

When zooming out, the font will be drawn smaller. This defines a lower limit for when the font is drawn. When using font scaling, you can use this together with the maxVisible to first show labels of important edges when zoomed out and only show the rest when zooming in.

Related Pages:

property enabled

Toggle the scaling of the label on or off. If this option is not defined, it is set to true if any of the properties in this object are defined.

Related Pages:

property max

The maximum font-size used for labels when scaling.

Related Pages:

property maxVisible

When zooming in, the font is drawn larger as well. You can limit the perceived font size using this option. If set to 30, the font will never look larger than size 30 zoomed at 100%.

Related Pages:

property min

The minimum font-size used for labels when scaling.

Related Pages:

class epyk.core.html.options.OptVis.OptionLayout(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property clusterThreshold

Cluster threshold to which improvedLayout applies.

Related Pages:

property hierarchical: OPtionsHierarchical

Related Pages:

https://visjs.github.io/vis-network/docs/network/layout.html#

property improvedLayout

When enabled, the network will use the Kamada Kawai algorithm for initial layout. For networks larger than 100 nodes, clustering will be performed automatically to reduce the amount of nodes. This can greatly improve the stabilization times. If the network is very interconnected (no or few leaf nodes), this may not work and it will revert back to the old method. Performance will be improved in the future

Related Pages:

property randomSeed

When NOT using the hierarchical layout, the nodes are randomly positioned initially. This means that the settled result is different every time. If you provide a random seed manually, the layout will be the same every time. Ideally you try with an undefined seed, reload until you are happy with the layout and use the getSeed() method to ascertain the seed.

Related Pages:

class epyk.core.html.options.OptVis.OptionLine(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionManipulation(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionNode(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property font: OptionFont
property scaling: OptionNodeScaling
property shape: EnumNodeShapes
class epyk.core.html.options.OptVis.OptionNodeScaling(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property label: OptionLabel
class epyk.core.html.options.OptVis.OptionPhysics(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property physics: OptionPhysicsBarnesHut
class epyk.core.html.options.OptVis.OptionPhysicsBarnesHut(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionRange(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionShadow(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property color

The color size of the shadow as a string. Supported formats are ‘rgb(255,255,255)’, ‘rgba(255,255,255,1)’ and ‘#FFFFFF’.

Related Pages:

property enabled

Toggle the casting of shadows. If this option is not defined, it is set to true if any of the properties in this object are defined.

Related Pages:

property size

The blur size of the shadow.

Related Pages:

property x

The x offset.

Related Pages:

property y

The y offset.

Related Pages:

class epyk.core.html.options.OptVis.OptionSmooth(component, value: Optional[Any] = None)
class epyk.core.html.options.OptVis.Options2D(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property barChart: OptionBarChart
property configure

When true, a configurator is loaded where all configuration options of the Graph2d can be changed live.

https://visjs.github.io/vis-timeline/docs/graph2d/

property dataAxis: OptionAxis

//visjs.github.io/vis-timeline/docs/graph2d/

Type:

https

property defaultGroup

This is the label for the default, ungrouped items when shown in a legend.

https://visjs.github.io/vis-timeline/docs/graph2d/

property drawPoints: OptionsdrawPoints

//visjs.github.io/vis-timeline/docs/graph2d/

Type:

https

property graphHeight

This is the height of the graph SVG canvas.

If it is larger than the height of the outer frame, you can drag up and down the vertical direction as well as the usual horizontal direction.

https://visjs.github.io/vis-timeline/docs/graph2d/

property height

return:

property interpolation: OptionsInterpolation

//visjs.github.io/vis-timeline/docs/graph2d/

Type:

https

property legend: OptionsLegend
property managed
property orientation: EnumOrientation
property shaded: EnumOrientation
class epyk.core.html.options.OptVis.Options3D(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property animationAutoStart

If true, the animation starts playing automatically after the graph is created.

Related Pages:

property animationInterval

The animation interval in milliseconds. This determines how fast the animation runs.

Related Pages:

property animationPreload

If false, the animation frames are loaded as soon as they are requested.

if animationPreload is true, the graph will automatically load all frames in the background, resulting in a smoother animation as soon as all frames are loaded. The load progress is shown on screen.

Related Pages:

property axisColor

The color of the axis lines and the text along the axis.

Related Pages:

property cameraPosition: OptionsCameraPosition
property dotSizeMaxFraction

Size of maximum-value dot as a fraction of dotSizeRatio. Applicable when using style dot-size.

Related Pages:

property dotSizeMinFraction

Size of minimum-value dot as a fraction of dotSizeRatio. Applicable when using style dot-size.

Related Pages:

property dotSizeRatio

Ratio of the size of the dots with respect to the width of the graph.

Related Pages:

property gridColor

The color of the grid lines.

Related Pages:

property height

The height of the graph in pixels or as a percentage.

Related Pages:

property keepAspectRatio

If keepAspectRatio is true, the x-axis and the y-axis keep their aspect ratio.

If false, the axes are scaled such that they both have the same, maximum width.

Related Pages:

property managed
property rotateAxisLabels

If rotateAxisLabels is true, the x-axis and y-axis labels will rotate with the graph. Useful with long label values.

Related Pages:

property showAnimationControls

If true, animation controls are created at the bottom of the Graph.

The animation controls consists of buttons previous, start/stop, next, and a slider showing the current frame. Only applicable when the provided data contains an animation.

Related Pages:

property showGrayBottom

If true, draw the bottom side of the surface in gray.

Related Pages:

property showGrid

If true, grid lines are drawn in the x-y surface (the bottom of the 3d graph).

Related Pages:

property showLegend

If true, a legend is drawn for the graph (if the graph type supports it).

By default a legend is drawn for dot and dot-color style graphs.

Related Pages:

property showPerspective

points and lines which are further away are drawn smaller.

Note that the graph currently does not support a gray colored bottom side when drawn in perspective.

Related Pages:

Type:

If true, the graph is drawn in perspective

property showShadow

Show shadow on the graph.

Related Pages:

property showSurfaceGrid

‘surface’.

Related Pages:

Type:

If true, grid lines are drawn on the surface of the graph itself (only effective if style

property showXAxis

If true, X axis and X axis labels are drawn

Related Pages:

property showYAxis

If true, Y axis and Y axis labels are drawn.

Related Pages:

property showZAxis

If true, Z axis and Z axis labels are drawn.

Related Pages:

property style: Enum3dStyles

The style of the 3d graph

Related Pages:

property tooltip

Show a tooltip showing the values of the hovered data point.

The contents of the tooltip can be customized by providing a callback function as tooltip. In this case the function is called with an object containing parameters x, y, z, and data (the source JS object for the point) as an argument, and must return a string which may contain HTML.

Related Pages:

property tooltipDelay

The delay time (in ms) for the tooltip to appear when the mouse cursor hovers over an x-y grid tile.

Related Pages:

property tooltipStyle: OptionsTooltipStyle
property valueMax

The maximum value for the value-axis. Only available in combination with the styles dot-color and dot-size.

Related Pages:

property valueMin

The minimum value for the value-axis. Only available in combination with the styles dot-color and dot-size.

Related Pages:

property verticalRatio

A value between 0.1 and 1.0.

This scales the vertical size of the graph When keepAspectRatio is set to false, and verticalRatio is set to 1.0, the graph will be a cube.

Related Pages:

property width

The width of the graph in pixels or as a percentage.

Related Pages:

property xBarWidth

The width of bars in x direction. By default, the width is equal to the smallest distance between the data points. Only applicable for styles ‘bar’ and ‘bar-color’.

Related Pages:

property xCenter

The horizontal center position of the graph, as a percentage or in pixels.

Related Pages:

property xMax

The maximum value for the x-axis. If not set, the largest value for x in the data set is used.

Related Pages:

property xMin

The minimum value for the x-axis. If not set, the smallest value for x in the data set is used.

Related Pages:

property xStep

Step size for the grid on the x-axis.

Related Pages:

property xValueLabel

A function for custom formatting of the labels along the x-axis, for example function (x) {return (x * 100) + ‘%’}.

Related Pages:

property yBarWidth

The width of bars in y direction. By default, the width is equal to the smallest distance between the data points. Only applicable for styles ‘bar’ and ‘bar-color’.

Related Pages:

property yCenter

The vertical center position of the graph, as a percentage or in pixels.

Related Pages:

property yMax

The maximum value for the y-axis. If not set, the largest value for y in the data set is used.

Related Pages:

property yMin

The minimum value for the y-axis. If not set, the smallest value for y in the data set is used.

Related Pages:

property yStep

Step size for the grid on the y-axis.

Related Pages:

property yValueLabel

A function for custom formatting of the labels along the y-axis, for example function (y) {return (y * 100) + ‘%’}.

Related Pages:

property zMax

The maximum value for the z-axis. If not set, the largest value for z in the data set is used.

Related Pages:

property zMin

The minimum value for the z-axis. If not set, the smallest value for z in the data set is used.

Related Pages:

property zValueLabel

A function for custom formatting of the labels along the z-axis, for example function (z) {return (z * 100) + ‘%’}

Related Pages:

class epyk.core.html.options.OptVis.OptionsBackgroundColor(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property fill

The chart fill color, as an HTML color string.

Related Pages:

property stroke

The color of the chart border, as an HTML color string.

Related Pages:

property strokeWidth

The border width, in pixels.

Related Pages:

class epyk.core.html.options.OptVis.OptionsCameraPosition(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property distance

The (normalized) distance from the camera to the center of the graph, in the range of 0.71 to 5.0. A larger distance puts the graph further away, making it smaller.

Related Pages:

property horizontal

Value in radians. It can have any value, but is normally in the range of 0 and 2*Pi.

Related Pages:

property vertical

Value in radians between 0 and 0.5*Pi.

Related Pages:

class epyk.core.html.options.OptVis.OptionsEditable(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property add

If true, new items can be created by double tapping an empty space in the Timeline. See section Editing Items for a detailed explanation.

Related Pages:

property overrideItems

If true, item specific editable properties are overridden by timeline settings

Related Pages:

property remove

If true, items can be deleted by first selecting them, and then clicking the delete button on the top right of the item. See section Editing Items for a detailed explanation.

Related Pages:

property updateGroup

If true, items can be dragged from one group to another. Only applicable when the Timeline has groups. See section Editing Items for a detailed explanation.

Related Pages:

property updateTime

If true, items can be dragged to another moment in time. See section Editing Items for a detailed explanation.

Related Pages:

class epyk.core.html.options.OptVis.OptionsInterpolation(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property enabled

Toggle the interpolation.

Related Pages:

property parametrization

Define the type of parametrization for the catmullRom interpolation. Example 7 shows the different parametrizations. The options are ‘centripetal’ (best results), ‘chordal’ and ‘uniform’. Uniform is the computationally cheapest variant. If interpolation is disabled, linear interpolation is used.

Related Pages:

class epyk.core.html.options.OptVis.OptionsLegend(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property enabled

Toggle the legend.

https://visjs.github.io/vis-timeline/docs/graph2d/

property icons

Show automatically generated icons on the legend.

https://visjs.github.io/vis-timeline/docs/graph2d/

property left

//visjs.github.io/vis-timeline/docs/graph2d/

Return type:

OptionsLegendPosition

Type:

https

property right

//visjs.github.io/vis-timeline/docs/graph2d/

Return type:

OptionsLegendPosition

Type:

https

class epyk.core.html.options.OptVis.OptionsLegendPosition(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property position

Determine the position of the legend coupled to the left axis. Options are ‘top-left’, ‘top-right’, ‘bottom-left’ or ‘bottom-right’.

https://visjs.github.io/vis-timeline/docs/graph2d/

property visible

Both axis, left and right, have a corresponding legend. This toggles the visibility of the legend that is coupled with the left axis.

Related Pages:

class epyk.core.html.options.OptVis.OptionsNetwork(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property autoResize

If true, the Network will automatically detect when its container is resized, and redraw itself accordingly. If false, the Network can be forced to repaint after its container has been resized using the function redraw() and setSize().

Related Pages:

property edges: OptionEdge

All options in this object are explained in the edges module.

Related Pages:

property height

the height of the canvas. Can be in percentages or pixels (ie. ‘400px’).

Related Pages:

property interaction: OptionInteraction

All options in this object are explained in the interaction module.

Related Pages:

property layout: OptionLayout

Related Pages:

All options in this object are explained in the layout module.

property locale

Select the locale. By default, the language is English

Related Pages:

property managed
property manipulation: OptionManipulation

All options in this object are explained in the manipulation module.

Related Pages:

property nodes: OptionNode

All options in this object are explained in the nodes module.

Related Pages:

Return type:

OptionNode

property physics: OptionPhysics

All options in this object are explained in the physics module.

Related Pages:

property width

the width of the canvas. Can be in percentages or pixels (ie. ‘400px’).

Related Pages:

class epyk.core.html.options.OptVis.OptionsTime(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
class epyk.core.html.options.OptVis.OptionsTimeline(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property autoResize

If true, the Timeline will automatically detect when its container is resized, and redraw itself accordingly.

Related Pages:

property clickToUse

When a Timeline is configured to be clickToUse, it will react to mouse and touch events only when active. When active, a blue shadow border is displayed around the Timeline. The Timeline is set active by clicking on it, and is changed to inactive again by clicking outside the Timeline or by pressing the ESC key.

Related Pages:

property editable: OptionsEditable

Related Pages:

https://visjs.github.io/vis-timeline/docs/timeline/

property end

The initial end date for the axis of the timeline. If not provided, the latest date present in the items set is taken as end date.

Related Pages:

property managed
property multiselect

If true, multiple items can be selected using ctrl+click, shift+click, or by holding items. Only applicable when option selectable is true.

Related Pages:

property sequentialSelection

If true, then only sequential items are allowed to be selected (no gaps) when multiselect is true

Related Pages:

property stack

If true (default), items will be stacked on top of each other such that they do not overlap.

Related Pages:

property stackSubgroups

If true (default), subgroups will be stacked on top of each other such that they do not overlap.

Related Pages:

property start

The initial start date for the axis of the timeline. If not provided, the earliest date present in the events is taken as start date.

Related Pages:

class epyk.core.html.options.OptVis.OptionsTooltipStyle(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property content

OptionContent

Type:

rtype

property dot

OptionDot

Type:

rtype

property line

OptionLine

Type:

rtype

class epyk.core.html.options.OptVis.OptionsdrawPoints(component: Optional[HtmlModel] = None, attrs: Optional[dict] = None, options: Optional[dict] = None, page: Optional[PageModel] = None)
property enabled

Toggles the drawing of the datapoints.

Related Pages:

property onRender

Defines a render function for every datapoint. If a group has no drawPoints.onRender callback, the graph2d drawPoints.onRender callback will be used. If neither is defined, the datapoint will be rendered according to the group setting of drawPoints.enabled. This callback must return true if the datapoint should be rendered, otherwise false.

Related Pages:

property size

Determine the size at which the data points are drawn.

Related Pages:

property style

EnumPointsStyle

Type:

rtype