I have two short questions which might be easy to solve but I got some struggle with it:
(1)
I want to change the color of a line chart with three lines.
The first line should be red:
chart.getSeries().getItem(0).setColor("#ff0000");
This _ALMOST_ works, however, the line color is not red, it is 192-0-0 (its a bit two dark for real red).
What am I doing wrong?
I tried setTemplate("LineBasic") on the gallery attributes
(2)
How can I set the background of a "chart area" to a "unicolor background color" white (no gradient). Furthermore I want to take influence on the border and the "round corners".
I dont want to use any motifs though.
I dont include any .css of you, for sure they have a good quality, but I need to set it programmatically.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
jayman18
Hello,
I have two short questions which might be easy to solve but I got some struggle with it:
(1)
I want to change the color of a line chart with three lines.
The first line should be red:
chart.getSeries().getItem(0).setColor("#ff0000");
This _ALMOST_ works, however, the line color is not red, it is 192-0-0 (its a bit two dark for real red).
What am I doing wrong?
I tried setTemplate("LineBasic") on the gallery attributes
(2)
How can I set the background of a "chart area" to a "unicolor background color" white (no gradient). Furthermore I want to take influence on the border and the "round corners".
I dont want to use any motifs though.
I dont include any .css of you, for sure they have a good quality, but I need to set it programmatically.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.