ChartAreaComponent
Represents the Kendo UI for Angular Chart Area configuration. Represents the entire visible area of the Chart (see example).
Definition
Package:@progress/kendo-angular-charts
Selector:kendo-chart-area
Syntax:
<kendo-chart>
<kendo-chart-area background="#f0f0f0" [border]="{ color: '#ccc', width: 1 }">
</kendo-chart-area>
</kendo-chart>
Inputs
background
string
Specifies the background color of the Chart area. Accepts a valid CSS color string, including hex and rgb.
'white'
height
number
Specifies the height of the Chart area.
400
Specifies the margin of the Chart area. A numeric value sets all margins.
5
opacity
number
Specifies the background opacity of the Chart area. By default, the background is opaque.
1
width
number
Specifies the width of the Chart area.
600
Methods
Updates the component fields with the specified values and refreshes the Chart.
Use this method when the configuration values cannot be set through the template.
An object containing the updated input fields.