Im tring to display a bar chart but im having two bars for each horizontal label, actually i need to display a bar for each horizontal label not 2 in one label, because each horizontal label represents a bar,
here's the horizontal labels
public barChartLabels: Label[] = ['Bodega 1', 'Bodega 2'];
and here's the data,
public barChartData: ChartDataSets[] = [
{ data: [65], label: 'Bodega 1' },
{ data: [80], label: 'Bodega 2' }
];
I include a label in each data item because i need to display the legend.
here's my code:
https://stackblitz.com/edit/ng2-charts-bar-template-sbnrc5
thanks