Hello,
I’m starting to use the chartJS extension to make charts.
The tool is really interesting.
I have a problem with configuring a bar chart.
When I set the BackgroundColor property
the color of the bars does not change.
The instruction I use is as follows:
cjs.DataSets (“mydataset”). BackgroundColor = Drawing.Color.Red
I enclose a small example.
I am using Visual studio 2015 and wisej version 1.4.95.0
Thanks
Hi Frank,
now it works correctly.
Tahnks
Hi Angelo,
you need to cast the dataset to the appropriate Charttype. Then you can either set one color for all bars
or individual colors. See sample code here:
Best regards
Frank
Please login first to submit.