-
20 Jun 2012 10:54 PM #1
Unanswered: Chart background doesn't work
Unanswered: Chart background doesn't work
i try to set background blue color
but chart is still whiteCode:background: { fill: '#00f' }
-
20 Jun 2012 11:53 PM #2Sencha - Community Support Team
- Join Date
- May 2012
- Location
- Istanbul
- Posts
- 1,331
- Vote Rating
- 76
- Answers
- 124
Hi!
try to use extraStyle
sample is following:-
Code:extraStyle : { background : { color : 'red' } }sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
21 Jun 2012 1:46 AM #3
extraStyle doesn't work too . By the way, there is no such property in sources.
-
21 Jun 2012 3:03 AM #4
Solution was in using custom theme . Base theme has background equals false therefore there is no background. But I can't still change the theme, something like
chart.theme = 'MyTheme';
// do Something to redraw chart with new theme


Reply With Quote