The Class PieChartDto.
| 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. | |
| id | number | The id. | |
| diameter | number | The diameter. | |
| auditableField | array of AuditableFieldDto | ||
| sliceMargin | number | The slice margin. | |
| shadow | boolean | The shadow. | |
| code | string | required | The code |
| showDataLabels | boolean | The show data labels. | |
| measurableQuantity | MeasurableQuantityDto | The measurable quantity. | |
| legendCols | number | The legend cols. | |
| width | string | The width. | |
| description | string | The description | |
| legendRows | number | The legend rows. | |
| height | string | The height. | |
| style | string | The style. | |
| updatedCode | string | The updated code. | |
| styleClass | string | The style class. | |
| extender | string | The extender. | |
| visible | boolean | The visible. |
Example
{
"chartType" : "pieChartDto",
"disabled" : true,
"filled" : true,
"legendPosition" : "e",
"seriesColors" : "...",
"id" : 12345,
"diameter" : 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" : "..."
} ],
"sliceMargin" : 12345,
"shadow" : true,
"code" : "...",
"showDataLabels" : true,
"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" : { }
},
"legendCols" : 12345,
"width" : "...",
"description" : "...",
"legendRows" : 12345,
"height" : "...",
"style" : "...",
"updatedCode" : "...",
"styleClass" : "...",
"extender" : "...",
"visible" : true
}