I have few questions about ColumnChart please (screenshot and code below):
- How to get rid of the shadow drawn behind each column? I've tried adding
<mx:filters />
but it hasn't helped - How to get rid of the padding between columns, so that they touch each other sidewise (like stairs) SOLVED
How to get rid of the warning
Data binding will not be able to detect assignments to "horizontalAxis"
? I've tried moving that code block around to get rid of theaxis
parameter, but can't find the right spot. SOLVED<mx:ColumnChart id="_chart" type="overlaid" dataProvider="{_ac}" > <mx:filters /> <!-- doesn't remove shadows --> <mx:horizontalAxis> <mx:CategoryAxis categoryField="yw"/> </mx:horizontalAxis> <mx:horizontalAxisRenderers> <!-- warning --> <mx:AxisRenderer axis="{_chart.horizontalAxis}" canDropLabels="true" /> </mx:horizontalAxisRenderers> <mx:series> <mx:ColumnSeries xField="yw" yField="max" displayName="Лидер недели" /> <mx:ColumnSeries xField="yw" yField="pos" displayName="Выигрыш" /> <mx:ColumnSeries xField="yw" yField="neg" displayName="Проигрыш" /> </mx:series> </mx:ColumnChart> <mx:Legend dataProvider="{_chart}" direction="horizontal" width="100%" />
UPDATE:
Sunil has helped with question #3, thanks!
And the problem #2 is solved by columnWidthRatio="1"
So now I just need to know, how to get rid of the shadows - as per question title :-)
For your first question, simple add
seriesFilters="{[]}"
tomx:ColumnChart
attributes.