Hi.
Well we can't help you with Angular, but you can create basic ZoomCharts chart like this:
- Include ZoomCharts library to your project.
<script src="./path/to/zoomcharts.js"></script>
- Create an HTML element where a new chart would be displayed:
<div id="demo"></div>
3.
Initialize your chart:
var chart = new FacetChart({
container: document.getElementById("demo"),
data: {
preloaded: data
}
}
And data should be something like this:
var data = {
subvalues: [
{subvalues: [{name: "Some Name", value: 123}], name: "Name", value: 233, "id": 123},
{subvalues: [{name: "Some Name 2", value: 555}], name: "Name2", value: 552, "id": 124},
]
}