LineChart appending lines, instead of stacking
by Trefalgar » Wed, 26 Nov 2008 08:12:03 GMT
Hard to explain ... when I do a single lineseries, the graph is great. If I add
additional line series, instead of "stacking" along the same horizontal axis,
it double it. Effectively graphing ...
1 ...10, 1 ... 10, 1 ... 10, 1 ... 10
Instead of graphing each line on the same 1 ... 10 horizontal axis.
Any hints?
Similar Threads:
1.Flex linechart add/remove lines
Don't know if this is still an issue for you, but you can simply add all the
LineSeries and set their 'visible' attribute to 'false' - then add a Legen with
'itemClick' set to a method that toggles the visibility of the associated
LineSeries. That way your users can click on the items in the Legend to turn
the lines on and off.
2.Moving a line on a LineChart
Hi EveryOne,
i have a line chart , on that chart i want to draw a
line(probably using graphics i think so),when i move that line i want to know
the postion of that line how to do this?? Any examples please
3.Flex linechart add/remove lines
Ok, so heres the score in a little more detail. No matter what Adobe tells you
the line chart actually requires 2 axis elements (mx:Axis) one horizontal and
one vertical. Now it is smart enough to generate the vertical axis element on
its own, even if you only give it a series. You will find that if you create a
chart and set only the series, then alter them, the scale or Axis in the Y
direction will alter for the data, even though the cart is blank. Now the chart
is blank because it has no idea what to use for an X-axis. As such you have to
create a Horizontal axis item and set it to the name of the data set to be
provided. Now even then it will be blank, since it has no idea what data set to
use for the X-axis points.
All in all what I am saying is you have to assign the chart one of your data
sets as the data provider no matter what. The chart needs this in order to
correctly draw the Axis and render your chart.
4.Stroke color of line in LineChart
I want to change the areaStroke and areaFill of an AreaSeries object, but
maintaining the default assigned colors. I?ve tried to the method
getStyle("areaStroke") but it returns null. Where Flex sets the default colors?
Isn't there anyways to maintain the default colors but change the style, gamma,
weight, etc...
It would be great to do this with LineSeries and other types of series.
5.Stack overflow at line: 0 - Macromedia site
6. stacked Bar chart/Line chart hybrid- Charting