Line Chart
{
"DataSetID": "97gh54R",
// String, Mandatory
// Defines the "graphic instance", which dictates the graphic's overall animation behaviour.
// Sending the same string as in the previous data will cause the graphic to transition to the new state in vision. Sending a different
// string will cause it to animate out and then back in. The actual string content has no processing significance in UE.
"ValueFormat": "Figure1DP",
// Enumeration, Mandatory
// Formatting to apply to all "Value" elements (see options in "Common")
"ShowPlinthLabel": true,
// Boolean, Optional, Defaults to true
// Show the label (or not)
"PlinthLabelText": "What a nice line graph",
// String, Optional
// Text to show on the label
"CategoryLabels": [
// Array, Mandatory
// Labels for points along the X axis
{
"Text": "Q1",
// String, Mandatory
"CategoryIndex": 0,
// Integer, Optional
// Use 0 for the first line, e.g. a LineChart with three lines could be identified as 2, 1, 0 in the json
// Changing the CategoryIndex (i.e. reloading json) will then animate (Animate Out needed) as a change of the CategoryLabels only,
// the lines will remain as they were
"TextColor": "#FFFFF",
// String (Hex String, i.e. #RRGGBB), Optional
// Defaults to the Material colour in the Section Material Settings
"BackdropColor": "#00000",
// String (Hex String, i.e. #RRGGBB), Optional
// Defaults to the Material colour in the Section Material Settings
}
],
"ValueAxis": {
// Decimal,Optional
// Value Labels for the Y axis
"MinimumValue": 0.0,
// Decimal,Optional
"MaximumValue": 1.0,
// Decimal,Optional
"MajorUnits": 0.5,
// Decimal,Optional
"MinorUnits": 0.1,
// Decimal,Optional
},
"Lines": [
// Array, Mandatory
// Each line can have individual settings
{
"BringForward": 0.5,
// Decimal, Optional ( 0.0 -> 1.0 )
// A value of 1.0 is 100% of the 'Maximum Distance to Bring Forward' (entered in Line Settings)
"AnimateToPoint": 3,
// Integer, Optional
// 0 will mean that the line does not animate, or will animate back to the Y axis
// If there are three sets of values for line (i.e. "Points": "Value": 1.0", etc), then an AnimateToPoint figure of '3', will
// mean all three sets of values will be shown.
// Changing the figure to '2' and re-animating, will reduce the line back to the second set of values (i.e. value, text colour, etc)
"ShowSeriesLabelOnLine": true,
// Boolean, Optional, Defaults to true
// Show the label (or not)
"Points":
[
// Array, Mandatory
// Each point along a line can now be given its value and characteristics (i.e. text colour, etc)
{
"Value": 1.0,
// Decimal, Mandatory
"PointColor": "#FFFFFF",
// String, Optional, Defaults to the Material colour in the Section Material Settings
// Hex colour string
"CategoryLabel": {
// Optional
"TextColor": "#FFFFFF",
// String (Hex String, i.e. #RRGGBB), Optional
// Defaults to the Material colour in the Section Material Settings
},
"ValueLabel":
// Optional
{
"ShowLabel": true,
// Boolean, Optional, Defaults to true
// Show the label (or not)
"BackdropColor": "#000000",
// String (Hex String, i.e. #RRGGBB), Optional
// Defaults to the Material colour in the Section Material Settings
"TextColor": "#FFFFFF",
// String (Hex String, i.e. #RRGGBB), Optional
// Defaults to the Material colour in the Section Material Settings
}
}
],
"Series": {
// Mandatory
"Text": "Qwerty",
// String, Mandatory
"LabelColor": "#000000",
// String, Optional, Defaults to the Material colour in the Section Material Settings
// Hex colour string
"BackdropColor": "#000000",
// String, Optional, Defaults to the Material colour in the Section Material Settings
// Hex colour string
"LineColor": "#000000",
// String, Optional
// Hex colour string
"ShapeColor": "#000000",
// String, Optional, Defaults to the Material colour in the Section Material Settings
// Hex colour string
"Shape": "Square",
// Enumeration, Optional, Default is that configured in LegendSettings/ItemStyle/ColourBlockShape
// Options: "None", "Square", "Circle", "Cross", "Plus"
PointShape": "Plus
// Enumeration, Optional, Default is that configured in LineSettings/PointShape
// Options: "Cross", "None", "Cube", "Cylinder", "Sphere", "Plus"
}
}
],
"Legend":
// Optional
{
"ShowLegend": true,
// Boolean, Optional, Defaults to true
// Show the legend (or not)
"RevealMode": "VisibleLines",
// Enumeration, Optional, Default is VisibleLines
// Options are "All" and "VisibleLines". , which will only show the information per line as they
// are animated (using 'Amnimate Per Line')
"Title": "Qwerty",
// String, Optional
"TitleColor": "#000000",
// String, Optional, Defaults to the Material colour in the Section Material Settings
// Hex colour string
}
}