Skip to main content

Properties

Data

NameDescriptionProperty Type
dataAn array of objects for trend dataArray

Data Array Object

NameDescriptionProperty Type
nameThe name of the data object memberString
datasetContains the data points for the plotDataset
containsNaNSpecifies if NaN values are in the datasetBoolean
isSortedSpecifies if the values in the dataset are sortedBoolean

Example of Data Prop:

dataProp.JPG

It is helpful to have the the dataset structured with timestamp in the first column.

Plots: (Future Release)

NameDescriptionProperty Type
   
   

Axes

NameDescriptionProperty Type
axesAn object containing defined axes arrays for both x and yObject

X Axis Array Object

NameDescriptionProperty Type
nameThe name of the axisString
plotThe type of plot displayed. Default value is defaultString
typeThe axis type for the plotObject
titleThe title for the axisObject
unitsSpecifies the units of measure for axis titleString
borderControl for the axis borderObject
rangeControls the range of the axisObject
positionControls the position of the axis on the chart. Options are Left, Right, Up, and DownString
labelThe label configuration for the axisObject
Type
NameDescriptionProperty Type
CategoryAxisText axis suitable to chart out text based items or categoriesString
DateTimeNumericAxisValue axis suitable when the axis data is DateTimeString
NumericAxisValue axis suitable when the axis data is numericString
LogarithmicAxisValue axis suitable for numeric data to be presented in logarithmicString
Title
NameDescriptionProperty TypeDefault
textThe displayed axis titleStringX Axis
fontSizeFont configuration for the titleDouble12
fontFamilySpecifies the font for the title. Examples are Arial, Times, etc.StringArial
colorSpecifies the color for the titleString--neutral-90
Border
NameDescriptionProperty TypeDefault
colorControls the border colorString--neutral-90
widthControls the border thickness of the axisDouble1
Label
NameDescriptionProperty TypeDefault
providerSee details for this object and its members below... NoFormat
fontSizeFont size configuration for the labelDouble12
fontFamilySpecifies the font family for the label. Examples are Arial, Times, etc.StringArial
colorSpecifies the color for the labelHex--neutral-90
Range.Auto
NameDescriptionProperty Type
AlwaysSets the axis range to automaticString
NeverSets the axis range to manual. A min and max range value is required to set the rangeString
Once??????String

Y Axis Array Object

NameDescriptionProperty Type
nameThe name of the axisString
plotThe type of plot displayed. Default value is defaultString
typeThe axis type for the plotObject
titleThe title for the axisObject
unitsSpecifies the units of measure for axis titleString
borderControl for the axis borderObject
rangeControls the range of the axisObject
positionControls the position of the axis on the chart. Options are Left, Right, Up, and DownString
labelThe label configuration for the axisObject
Type
NameDescriptionProperty Type
CategoryAxisText axis suitable to chart out text based items or categoriesString
DateTimeNumericAxisValue axis suitable when the axis data is DateTimeString
NumericAxisValue axis suitable when the axis data is numericString
LogarithmicAxisValue axis suitable for numeric data to be presented in logarithmicString
Title
NameDescriptionProperty TypeDefault
textThe displayed axis titleStringY Axis
fontSizeFont configuration for the titleDouble12
fontFamilySpecifies the font for the title. Examples are Arial, Times, etc.StringArial
colorSpecifies the color for the titleString--neutral-90
Border
NameDescriptionProperty TypeDefault
colorControls the border colorString--neutral-90
widthControls the border thickness of the axisDouble1
Label
NameDescriptionProperty TypeDefault
providerSee details for this object and its members below... NoFormat
fontSizeFont size configuration for the labelDouble12
fontFamilySpecifies the font family for the label. Examples are Arial, Times, etc.StringArial
colorSpecifies the color for the labelHex--neutral-90
Range.Auto
NameDescriptionProperty Type
AlwaysSets the axis range to automaticString
NeverSets the axis range to manual. A min and max range value is required to set the rangeString
Once??????String

Provider

NameDescriptionProperty Type
providerAn object containing formats for the axis labelObject

Provider Members

NameDescriptionProperty Type
NoFormatSpecifies No Formatting to the axis labels (defaults to integer whole values)String
DecimalFormats the axis labels with a single decimal placeString
SignificantFiguresFormats the axis labels as a whole number (no decimal places)String
Date_DDMMYYYYFormats the axis label to DateTime (eg. 12/31/1969)String
Date_DDMMYYFormats the axis label to DateTime (eg. 01/01/70)String
Date_DDMMHHMMFormats the axis label to DateTime (eg. 01/01 00:00)String
Date_DDMMFormats the axis label to DateTime (eg. 01/01/70)String
Date_HHMMFormats the axis label to DateTime (eg. 01/01)String
Date_HHMMSSFormats the axis label to DateTime (eg. 00:00)String
ExponentialFormats the axis label to exponential notation (eg. 2.0e+1)String
ScientificFormats the axis label to scientific notation (eg. 3x10³)String

axes_x_axis.JPG

Pens Array Object

NameDescriptionProperty Type
 An array of pens to display on the graphArray
nameThe name of the pen to be displayed in the legend on the chartString
visibleDetermines if the pen is visible on the chart or notBoolean
typeThe chart type desired. Options are Line, Scatter, Column, Mountain and SplineString
interpolationPointsUsed with the Spline type curve to set the interpolation filter - a higher value results in a smoother waveform - only visible when MountainSpline or Spline curves are selectedInteger
axisDefines the axes (x and y) for the selected penObject
dataDefines where the data for the pen is coming from 
strokeConfiguration of the line on the chart corresponding to a specific penObject
Type
NameDescriptionProperty Type
Line String

Scatter

 String
Column String
Mountain
String
MountainSpline
String
Spline
String
Axis
NameDescriptionProperty Type
xSets the pen x axis to the named x axis in the axes array objectString

y

Sets the pen y axis to the named y axis in the axes array objectString
Data
NameDescriptionProperty Type
nameThe name for where the data for the pen is coming from - corresponds to the name member of the Data array objectString
xColumnNameThe column from the dataset in the Data array that is to be used for the X axisString
yColumnNameThe column from the dataset in the Data array that is to be used for the Y axisString
Stroke
NameDescriptionProperty Type
colorThe color applied to the line strokeString
dashArrayThe spacing between dashes of the line strokeArray
opacityThe opacity to apply to the line stroke (numeric value)Integer
widthThe width to apply to the line stroke (numeric value)Integer

 

 

ADD SCREENSHOT OF PENS????

When configuring pens, it is important to ensure that the pen axes correspond to the specific x and y axes that are configured in the props section (see below).

chartReg_addingpens.jpg

Chart

NameDescriptionProperty Type
heightThe size of the chart on the y axisInteger
LegendProps for the legend at the top leftInteger
  visibleDetermines whether the legend is displayed on the chartBoolean
  showCheckBoxesDetermines whether the checkboxes in the legend are displayedBoolean
  heightThe size of the legend on the y axisInteger

Theme

NameDescriptionProperty Type
themeAn object containing formats for the chart theme optionsObject

Theme Members

NameDescriptionProperty Type
lightcontains all the object members relating to the light theme modeObject
darkcontains all the object members relating to the dark theme modeObject

chartReg_theme_light.jpg

Both the light and the dark themes have the same object members - the difference is the values of each member will likely differ depending on the color and shading requirements of the theme