Vector Chart

Top  Previous  Next

A vector chart displays series of vectors in 2D space. Each vector is described by Delta X and Delta Y values.

gb_component_chart_vector

The vector chart is based on XY Plot and XY Renderer. It inherits all their properties.

This is what vector chart looks like:

ls_widgets_charts_vector

Dataset

The vector chart supports Custom Data model only.

It has the following Source Data Bindings:

Binding

Expected Value Type

Description

Series

String

Textual name of the data series.

X

Number

Vector base at the domain (X) axis.

Y

Number

Vector base at the range (Y) axis.

Delta X

Number

Length of vector projection to the X axis.

Delta Y

Number

Length of vector projection to the Y axis.

Additional dataset properties:

Auto Sort

Flag that controls whether the items in the series are automatically sorted into ascending order by x-value.

Property name: autoSort

Property type: Boolean

Allow Duplicate X Values

Flag that controls whether two or more items in the series can have the same x-value.

Property name: allowDuplicateXValues

Property type: Boolean

Common Properties

Width, Height, Bindings, Visible, Background, Border

All Common Chart Properties.

All Data-related properties.

All properties of a XY Plot.

All properties of a XY Renderer.

Custom Properties

None defined.

Common Events

Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost

Additional Examples

A vector chart demo with a large dataset:

ls_widgets_charts_vector_demo