The Class BarChartDto.
| 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. | |
| legendPosition | LegendPositionEnum | The legend position. | |
| barPadding | number | The bar padding. | |
| barMargin | number | The bar margin. | |
| id | number | The id. | |
| orientation | OrientationEnum | The orientation. | |
| auditableField | array of AuditableFieldDto | ||
| stacked | boolean | Enables stacked display of bars. | |
| code | string | required | The code |
| min | number | Minimum boundary value. | |
| measurableQuantity | MeasurableQuantityDto | The measurable quantity. | |
| max | number | Minimum boundary value. | |
| width | string | The width. | |
| description | string | The description | |
| height | string | The height. | |
| breakOnNull | boolean | Whether line segments should be broken at null value, fall will join point on either side of line. | |
| style | string | The style. | |
| xaxisLabel | string | The xaxis label. | |
| updatedCode | string | The updated code. | |
| styleClass | string | The style class. | |
| yaxisLabel | string | The yaxis label. | |
| extender | string | The extender. | |
| xaxisAngle | number | Angle of the x-axis ticks. | |
| visible | boolean | The visible. | |
| yaxisAngle | number | The yaxis angle. | |
| legendCols | number | The legend cols. | |
| legendRows | number | The legend rows. | |
| zoom | boolean | Enables plot zooming. | |
| animate | boolean | Enables animation on plot rendering. | |
| showDataTip | boolean | Defines visibility of datatip. | |
| datatipFormat | string | Template string for datatips. |
Example
{
"chartType" : "barChartDto",
"disabled" : true,
"legendPosition" : "w",
"barPadding" : 12345,
"barMargin" : 12345,
"id" : 12345,
"orientation" : "horizontal",
"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" : "..."
} ],
"stacked" : true,
"code" : "...",
"min" : 12345.0,
"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" : "MONTHLY",
"lastMeasureDate" : { }
},
"max" : 12345.0,
"width" : "...",
"description" : "...",
"height" : "...",
"breakOnNull" : true,
"style" : "...",
"xaxisLabel" : "...",
"updatedCode" : "...",
"styleClass" : "...",
"yaxisLabel" : "...",
"extender" : "...",
"xaxisAngle" : 12345,
"visible" : true,
"yaxisAngle" : 12345,
"legendCols" : 12345,
"legendRows" : 12345,
"zoom" : true,
"animate" : true,
"showDataTip" : true,
"datatipFormat" : "..."
}