Mashup Builder > Widgets > Standard Widgets > Event Chart Widget
Event Chart Widget
The Event Chart widget displays an event chart. There are several types of event charts to choose from for your data display: stick, flag, or stick/flag.
* 
Styles and common widget properties are not included in the table below.
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
CustomClass
User defined CSS class to apply to the top div of the widget. Multiple classes can be entered, separated by a space.
STRING
n/a
Y
N
Data
The data property to bind to.
n/a
n/a
Y
N
ChartType
The type of chart (Stick, Flag, or Stick/Flag).
STRING
Stick/Flag
N
N
ChartTitle
The title of the chart
STRING
n/a
Y
Y
ShowLegend
Displays the legend.
BOOLEAN
True
N
N
LegendWidth
The width of the legend.
NUMBER
0
N
N
LegendLocation
The location of the legend (Top, Right, Bottom, or Left).
STRING
Right
N
N
LegendOrientation
The orientation of the legend (Horizontal or Vertical).
STRING
Vertical
N
N
LabelFormat
The format of an event label.
STRING
0000.0
N
N
ShowTimeOnFlag
Display a timestamp on a flag.
BOOLEAN
True
N
N
ShowDataLoading
Displays the data loading.
BOOLEAN
True
N
N
FlagTimeFormat
The format for a flag's timestamp.
STRING
yyyy-MM-dd HH:mm:ss
N
N
FlagWidth
The width of a flag.
NUMBER
120
N
N
FlagHeight
The height of a flag.
NUMBER
30
N
N
StickStart
The start of a stick (percentage of chart height).
NUMBER
0
N
N
StickEnd
The end of a stick (% of chart height).
NUMBER
100
N
N
MarkerSize
The size of a marker.
NUMBER
3
N
N
MarkerType
The type of marker (Flag, Circle, Square, Triangle, Diamond, or Image).
STRING
Flag
N
N
XAxisField
The field that will provide values for the x-axis.
FIELDNAME
n/a
Y
N
LabelField
The field that will provide labels.
FIELDNAME
n/a
Y
N
ShowXAxis
Display the x-axis.
BOOLEAN
True
N
N
XAxisFormat
The format for values of the x-axis.
STRING
yyyy-MM-dd\nHH:mm:ss
N
N
XAxisMinimum
The minimum range for values of the x-axis.
DATETIME
n/a
Y
N
XAxisMaximum
The maximum range for values of the x-axis.
DATETIME
n/a
Y
N
XAxisAutoscale
Automatically scale the x-axis.
BOOLEAN
True
N
N
XAxisZeroscale
Force a zero minimum when automatically scaling the x-axis.
BOOLEAN
False
N
N
XAxisSmoothScaling
Round values for scaling the x-axis.
BOOLEAN
True
N
N
XAxisIntervals
The number of intervals for the x-axis.
NUMBER
10
N
N
XAxisMinorTicks
The number of minor ticks for the x-axis.
NUMBER
1
N
N
XAxisLabels
The number of labels for the x-axis.
NUMBER
2
N
N
AllowXAxisZoom
Allow zooming of the x-axis.
BOOLEAN
True
N
N
ShowXAxisLabels
Display labels for the x-axis.
BOOLEAN
True
N
N
ShowXAxisTicks
Display ticks for the x-axis.
BOOLEAN
True
N
N
AllowSelection
Allow item selection.
BOOLEAN
True
N
N
EnableHover
Display values on hover
BOOLEAN
True
N
N
ShowXAxisGrid
Display a horizontal grid for the x-axis.
BOOLEAN
True
N
N
DoubleClicked
Event. Triggered when the user double-clicks the chart.
n/a
n/a
Y
N
Visible
Is the widget visible in run time?
BOOLEAN
True
Y
N
Was this helpful?