LineChart appending lines, instead of stacking

flex

    Next

  • 1. differentiating between button actions
    use event.target like this: if (event.target == addReport) { } else if (event.target == updateReport) { } else {}
  • 2. Exported Flex Application Refresh Rate (SWF)
    "alice_data" < XXXX@XXXXX.COM > wrote in message news:gjdqbe$sc8$ XXXX@XXXXX.COM ... > Hi, > > I am wondering if anyone on this list has seen anything like this, and > hopefully someone could help me with fixing it. > I have successfully created a full fledged application that contains 8 > states in all, with various data service input and output as a user uses > the > application. The question is this, when a user writes to the database, and > tries to reload and look at another entry by clicking on the reload button > that > I created, even though it has long passed the "time requirement" as > handled by > the back-end coding, the user sees only the first entries that originally > exists in the database. I do not have sleep function throughout my > Actionscript > or PHP within this process. > > However, if I open another browser and tries to see it by reloading the > entire application again (in SWF format), everything is normal and > displayed > correctly. > > Is there a refresh rate issue with Flex in terms of displaying > information > from another table after it has been written in? How would I go about > fixing it? > > Thanks for your help. I hope I am making sense here. There are all sorts of things that could be going on here. Hard to say without seeing your code.
  • 3. correct indentation for as and mxml file in flex builder.
    Use the TAB key. One thing I've found helpful is to change the default indentation in Flex to spaces instead of tab characters: Window->Preferences->Flex->Editors->Indentation-> check "spaces" and set both values to 4. Helps when pasting code into another editor (or here!) which could interpret tabs differently. Spaces are more consistent among different editors.
  • 4. selectedItem property is not working when filter applied for dataprovider(for Datagrid)
    Hi Rtalton, Thanks for your reply. I tried as you suggested, but its the same problem still. Thanks again. Regards Pavan Neeli

LineChart appending lines, instead of stacking

Postby 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



Return to flex

 

Who is online

Users browsing this forum: No registered users and 16 guest