RadarChart Component synced with Web Awesome 3.4.x
Overview
Import
Import the radarChart directive from the angular-awesome package:
// Import the radarChart directive
import { WaRadarChartDirective } from 'angular-awesome/radar-chart';
Examples
# WaRadarChartDirective Usage Examples
Basic Usage
<wa-radar-chart label="Radar Chart">
<script type="application/json">
{
"data": {
"labels": ["Jan", "Feb", "Mar", "Apr", "May"],
"datasets": [{
"label": "Sales",
"data": [65, 59, 80, 81, 56]
}]
}
}
</script>
</wa-radar-chart>
With Angular Bindings
<wa-radar-chart
[label]="chartLabel"
[config]="chartConfig"
[withoutAnimation]="true"
legendPosition="bottom">
</wa-radar-chart>
Custom Styling
<wa-radar-chart
label="Styled Chart"
[fillColor1]="'rgba(59, 130, 246, 0.5)'"
[borderColor1]="'rgb(59, 130, 246)'"
[config]="chartConfig">
</wa-radar-chart>