ColumnChart
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
import React from 'react'
import { Viz } from 'a10-gui-dgp-viz'
const { ColumnChart } = Viz
export const MyDashboard = () => {
return (
<ColumnChart
name="MY CHART"
data={{ categories: [], series: [] }}
colors="skin_to_blue"
/>
)
}
{
"vizName": "ColumnChart", // The name of the visualization
"dataSourceID": "ROT.ADC.L4SLB.THROUGHPUT", // The data source ID to provide data to the visualization
"name": "THROUGHPUT", // The title name of the chart
"description": "", // This text will show up on hover
"colors": "skin_to_blue", // The colors for the chart plots, it could be a COLOR_SET or an array of hex codes
}{
categories: ['0-10 Mbps', '10-20 Mbps', '>20 Mbps'],
series: [
{
name: 'Upstream',
data: [10, 20, 30],
},
{
name: 'Downstream',
data: [100, 200, 300],
},
],
total: 600,
}