r - how to set colors of columns in googleCharts? -
gviscolumnchart(df,options = list(gvis.editor="edit chart!",width=500,height=500,colors=df$color))
how put vector state that, colors want of columns in chart?
go through link
chart.draw(data, { width: 400, height: 240, title: 'toppings on pizza', colors: ['#e0440e', '#e6693e', '#ec8f6e', '#f3b49f', '#f6c7b6'], is3d: true });
https://developers.google.com/chart/interactive/docs/customizing_charts
Comments
Post a Comment