hoping that yourquestion is, you want a fill color/label/something to each individual data (for each bar).

above (your) code snippet is used when you have two data sets.
all these dataset properties will accept string when the same property value has to set for all data, and they will also accept array[string] - when you want to set different property values for different data in the same dataset. (like below).

$ = [65,11];
$scope.datasetoverride = [
  label: ['something', 'otherthing'],
  borderwidth: [1,2],
  backgroundcolor: ['#ff4242','#2291ff']

so now i understood that you might be adding dynamically data.
so you have to push data into dataset something like this:


so if you want to set different properties for these you need to push the properties (arrays).

$scope.datasetoverride[0][label].push('someother thing');

this will add a bar with new color/label/etc beside the previous bars.

i hope i understood your question and this will help.

Related Query

More Query from same tag