PDA

View Full Version : How to set chart background for area between axes only



justinzane
13 May 2012, 2:59 PM
The Ext.chart.Chart({background: ...}) property displays under the whole chart -- that is under the labels, axes, legend, etc. How does one add a background to just the area that show series data? Specifically for a Line chart if that matters.


|
| Background
A | in
X | here
I | only.
S |
|
_________________
AXIS

scottmartin
14 May 2012, 2:31 PM
There is nothing by default. You may have to inspect the image element and see if you can override the CSS rule.

Regards,
Scott.

justinzane
14 May 2012, 2:50 PM
Thanks. That seems like more work than I'm willing to do for a play project, though.
Since almost every charting app around has this functionality. It might be appropriate to turn this into a feature request.

Daniil
4 Jan 2013, 12:41 AM
+1

It would be great to have this functionalirty built-in.

syl_via38
11 Sep 2014, 7:19 AM
Hello,

I need to put an image inside a chart to ? you find a solution ?

Thanks
Sylvia