0
  gvisColumnChart(df,options = list(gvis.editor="Edit this chart!",width=500,height=500,colors=df$Color))

How do I put a vector to state that, what colors I want of the columns in my chart?

NicE
  • 21,165
  • 3
  • 51
  • 68
Paras Sheth
  • 61
  • 1
  • 6

1 Answers1

0

Go through this Link

chart.draw(data, {
  width: 400,
  height: 240,
  title: 'Toppings I Like On My Pizza',
  colors: ['#e0440e', '#e6693e', '#ec8f6e', '#f3b49f', '#f6c7b6'],
  is3D: true
});

https://developers.google.com/chart/interactive/docs/customizing_charts