The Class LineChartDto.
| name | data type | constraints | description |
|---|---|---|---|
| chartType | string | The JSON object type. | |
| disabled | boolean | Is entity disabled. Value is ignored in Update action - use enable/disable API instead. | |
| filled | boolean | The filled. | |
| legendPosition | LegendPositionEnum | The legend position. | |
| seriesColors | string | The series colors. | |
| shadow | boolean | The shadow. | |
| id | number | The id. | |
| auditableField | array of AuditableFieldDto | ||
| minX | number | The min X. | |
| maxX | number | The max X. | |
| code | string | required | The code |
| minY | number | The min Y. | |
| maxY | number | The max Y. | |
| measurableQuantity | MeasurableQuantityDto | The measurable quantity. | |
| width | string | The width. | |
| description | string | The description | |
| breakOnNull | boolean | Whether line segments should be broken at null value, fall will join point on either side of line. | |
| height | string | The height. | |
| xaxisLabel | string | The xaxis label. | |
| style | string | The style. | |
| yaxisLabel | string | The yaxis label. | |
| updatedCode | string | The updated code. | |
| styleClass | string | The style class. | |
| xaxisAngle | number | Angle of the x-axis ticks. | |
| extender | string | The extender. | |
| yaxisAngle | number | The yaxis angle. | |
| visible | boolean | The visible. | |
| stacked | boolean | Whether to stack series. | |
| zoom | boolean | Enables plot zooming. | |
| animate | boolean | Enables animation on plot rendering. | |
| showDataTip | boolean | Defines visibility of datatip. | |
| datatipFormat | string | Template string for datatips. | |
| legendCols | number | The legend cols. | |
| legendRows | number | The legend rows. |
Example
{
"chartType" : "lineChartDto",
"disabled" : true,
"filled" : true,
"legendPosition" : "w",
"seriesColors" : "...",
"shadow" : true,
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"minX" : 12345,
"maxX" : 12345,
"code" : "...",
"minY" : 12345,
"maxY" : 12345,
"measurableQuantity" : {
"disabled" : true,
"id" : 12345,
"auditableField" : [ {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
}, {
"entityClass" : "...",
"fieldName" : "...",
"id" : 12345,
"changeOrigin" : "...",
"auditableField" : [ { }, { } ],
"originName" : "...",
"code" : "...",
"previousState" : "...",
"currentState" : "...",
"description" : "...",
"created" : "...",
"updatedCode" : "...",
"actor" : "..."
} ],
"theme" : "...",
"dimension1" : "...",
"code" : "...",
"dimension2" : "...",
"dimension3" : "...",
"description" : "...",
"dimension4" : "...",
"editable" : true,
"additive" : true,
"updatedCode" : "...",
"sqlQuery" : "...",
"measurementPeriod" : "DAILY",
"lastMeasureDate" : { }
},
"width" : "...",
"description" : "...",
"breakOnNull" : true,
"height" : "...",
"xaxisLabel" : "...",
"style" : "...",
"yaxisLabel" : "...",
"updatedCode" : "...",
"styleClass" : "...",
"xaxisAngle" : 12345,
"extender" : "...",
"yaxisAngle" : 12345,
"visible" : true,
"stacked" : true,
"zoom" : true,
"animate" : true,
"showDataTip" : true,
"datatipFormat" : "...",
"legendCols" : 12345,
"legendRows" : 12345
}