Flex :: Draw Dot On Linechart In It?

Jul 17, 2009

I have a line series in a linechart and a slider that goes from 0 to 200. When I now move the slider, I want to have a dot appearing at the chart so when I move the slider to 150, there should be a dot where the x-coordinate of the chart is 150.

View 2 Replies


Similar Posts:


Flex :: Draw Segments Linechart In Different Color

Mar 19, 2010

I'm doing some line charts in my Flex application, and I need to draw segments of those line chart in different color. Does anyone have an idea how this could be achieved? For instance, if I have a code like this (actually, I have given this trivial example for simplicity (the problem is the same)):

[Code]...

View 1 Replies

Flex :: Flex - LineChart Broken Line With DateTimeAxis?

Apr 12, 2011

I have a LineChart with a DateTimeAxis as horizontalAxis and a maximum set. If a point is beyond the maximum date, the whole segment will not appear. Yet, is there a way to make it appear until it reachs the border of the chart?The code here :

<?xml version="1.0"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

[code].....

View 1 Replies

Flex :: Flex - Creating Dynamic Lineseries In Linechart?

Oct 11, 2011

This is my array collection

[Bindable]private var Projects:ArrayCollection = new ArrayCollection( [
{ Department: "Software", TotalProjects: 73,Completed:30,Inprogress:30,Approved:13},
{ Department: "XML",TotalProjects: 50,Completed:20,Inprogress:20,Approved:10},
{ Department: "Publishing",TotalProjects: 25,Completed:5,Inprogress:10,Approved:10},
{ Department: "Indesign", TotalProjects: 70,Completed:30,Inprogress:30,Approved:10},
{ Department: "Imaging", TotalProjects: 42,Completed:30,Inprogress:10,Approved:2}]);

[Code]...

how can i create mx:LineSeries dynamically depending upon array collection values. Now only 4 line series is there but some times i have to show more as per the array collection values change ex: if one more status HoldProject added to array collection?

View 1 Replies

Actionscript 3 :: Flex Uncontinuous Linechart?

Jun 1, 2010

Is there a way to break the line in a line-chart, if the gap between 2 values on the x axis is bigger then a given value? For example there are 20 values but the first 13 are close to each other on the x axis and should be connected with a line, but the other 7 are a bit far from these and should be connected with another line. The type of values are the same.

View 1 Replies

Flex :: Linechart With Labelled Plots?

Jun 21, 2010

I have a line chart with 4 line series with diamond, circle, box and triangle as item renderer for the plots for these 4 line series.Now my requirement is I want to show labels for the plots in the chart. It should be like this : I tried with some item renderes but not getting it correctly since I want to use the circles and triangles to render the plots.

View 1 Replies

Flex :: Filtering Data Shown On Linechart?

Jul 8, 2009

i am working on a line chart on flex which enable me to view the progress of data according to the year. I have tried using a slider to filter but it doesn't seemed to work.

View 4 Replies

Flex :: 3 Linechart Points Are Too Close To The Edge

Aug 12, 2009

I have a Flex3 LineChart component using an CircleItemRenderer and the datapoints are being cut off because they are too close to the edge. Here's what it looks like: [URL] As you can see, the circles on the left and right sides are being cut off. How can I make the LineSeries area, plus the horizontal labels, narrower so it fits in the chart area?

View 6 Replies

Flex LineChart With Multiple Data Providers?

Jan 15, 2010

Can I create a LineChart with multiple data providers? Since LineSeries has a dataprovider property, I'm assuming the answer is Yes

[Code]...

View 2 Replies

Flash :: Flex - Label Along The Line LineChart

Mar 31, 2010

I'd like to put a label to each LineSeries on my Flex LineChart so it will be shown next to the line (along it). Any relatively easy way to archieve that?

View 4 Replies

Actionscript 3 :: Clearing/Emptying A LineChart In Flex?

Oct 21, 2011

I have a line chart in flex with a dateTime axis. I am setting the dataprovider to that linechart via actionscript. The graph gets drawn. The problem occurs when i assign a null to the dataprovider so that the graph becomes empty.

Actual code looks similar to the code below :

var actualValues:XMLList=flowChartDP.upFlows;
var localSeries1:LineSeries = new LineSeries();
localSeries1.dataProvider = actualValues;

[Code].....

View 1 Replies

Flex :: Flex - Display DateTime On Linechart?

Sep 8, 2009

I need to create LineChart that display datetime points, for example:

public var stockDataAC:ArrayCollection = new ArrayCollection( [
{date: "2005,7,27,22,15,30", close: 41.71},
{date: "2005,7,27,22,16,30", close: 42.21},

[code].....

View 1 Replies

Flex :: Animating A LineChart Based On Changing DataProvider

Jul 7, 2011

I need to be able to animate a LineChart based on the SeriesInterpolate data effect (I will have an Array of dataproiders). I want to have a "Play" button that will:

initialize the LineChart with the first dataprovider in the array start the animation and wait for the animation to finish before loading the second data provider repeat the process until all data providers in the Array are loaded

View 1 Replies

Flex :: Flash - File Type Was Not Found When Using LineChart?

Jun 4, 2009

I am using FlashDevelop to develop flex applications and wanted to paint a LineChart in a panel. I used an example of Adobe itself to be found here. When I compiled it FlashDevelop showed the following output file type was not found or was not a compile-time constantFor Both LineChart and AreaChart.Can someone tell me why this happens? I also tried it in the code by importing mx.charts.LineChart, my code completion found the classes but when compiling the same error occurs.

View 2 Replies

Flex :: Extending X-axis On LineChart For Unknown Future Data?

Jul 13, 2010

How do you display data on a LineChart that cuts off where there is no more data? For example, if I am showing a chart of company revenue for 2010, the chart should only show up to July now (with August and forward on showing no data). This would make the line in the line chart break and dissappear off at about midway through the year.

View 1 Replies

Flex :: Change Starting And Ending The LineChart Of JSON Data With Slider?

Feb 28, 2011

My JSON Data file ise data.txt

[
{
"sayim":"1",
"x":"400",

[code]...

and my aim ise to create a Slider which can change starting and ending of the graphic, it is like what is showing in figure 6 in this website and here the MXML codes;

.
..
...
jsonDataArray = JSON.decode(urlLoader.data);

[code]...

The problem is "dataProvider" definition in LineChart, I wrote this code but it is still not working,

dataProvider="{dgg(sayim>=daySlider.values[0] && sayim<=daySlider.values[1])}"

what is the right code to control the LineChart with the Slider.

View 1 Replies

Actionscript :: Flex: Feed Multiple Series Of Different Array Lengths Into LineChart?

Jan 19, 2012

I'm new to Flex. I've been graphing multiple series in a line chart where all of these series are the same length. Now I need to plot new data and each series has a different length from each other. The question is how to modify the following code to do this.

The initApp() function is called at the start of the program, and it calls function genData() to generate the dataSet used for plotting in the LineChart.

public function initApp():void {
// Initialize data provider array.
dataSet = new ArrayCollection(genData());

[Code]....

Can someone recommend how to place array1, array2, array3, and array4 into x1, y1, x2, y2 (respectively) when the length of array1 and array2 do not equal that of array3 and array4? Or, equivalent outcome.

I'm assuming everything has to come in through dataSet, but I wonder if it's possible to simply reference array1 (etc.) directly from <mx:LineChart ...> or <mx:LineSeries ...> somehow, to avoid wasting memory on an unnecessary array (e.g. dataSet).

View 1 Replies

Flex :: LineChart Data Points Don't Match Tick Marks / Axis Labels

Feb 26, 2010

why the data points on the LineChart don't line up with the corresponding tick mark / horizontal axis label? See adobe's example (at the bottom of the page):[URL]See how the data for 7/28/05 is to the right of the 7/28/05 tick mark / label?

View 1 Replies

Flex :: Why Does The LineChart Legend Stop Displaying Colors When LineSeries's LineStroke Attribute Changes

Aug 4, 2010

I am implementing a LineChart in FLEX 4. I have the chart working well except I do not like the default colors and cannot use them, as they do not relate to my data very well. For instance, Orange is not a great default color for my data column "Outdoor temperature". I would rather override it and use a green color if possible.

When I explicitly specify the SolidColorStroke, like so, this breaks the LineChart Legend:

<mx:SolidColorStroke id = "s1" color="haloGreen" weight="2"/>
<mx:LineSeries yField="v1" form="curve" displayName="Indoor Temp" lineStroke="{s1}"/>

^ With this code, The LineChart Legend stops displaying the color for that specific LineSeries, and only displays in black.

How can I override the LineSeries stroke color and persist those colors to the Legend's display?

Is this a FLEX 4 bug? I noticed in FLEX 3 examples (even on Adobe's FLEX 3 Help website) you can override the stroke colors and it persists to the Chart Legend.

View 1 Replies

Flex :: Remove Undesirable Text/HTML Tags From LineChart's Custom DataTips?

Aug 11, 2010

I wrote a function to override y FLEX LineChart's datatips because the default datatips were ugly and rather boring.I finally set the style I wanted but am now having some problems removing un-necessary tags from being displayed in the custom datatips.For example, the datatips now display things like this:

"<b>Humidity</b></BR>2010-07-05T00:15:00"

I can always perform a "Replace()" to remove those break and bold HTML tags, but that seems really un-necessary and anti-development.I am using this to set the dataTip's label text:

var hd:HitData = value as HitData;
var item:LineSeriesItem = hd.chartItem as LineSeriesItem;
_xAxisText = String(hd.displayText + ' ' + item.xValue);

[code].....

View 1 Replies

Flex :: Charts - LineChart, LineSeries, DateTimeAxis Do Not Connect Points On Specific Time Distance?

Jun 21, 2011

I have a LineChar, with one LineSeries, on which i am drawing values ( Y axis ), on specific time ( X axis ).The problem is that i don't wanna the points which is distanced on a specific distance in time ( let say 6 hours ) to be connected.Is there a way to make LineSeries with DateTimeAxis not connecting points distanted in specific time ?

View 1 Replies

Flex :: BitmapData Draw - Set Where To Draw?

Dec 16, 2010

i have a class thats create a class with bitmapData that merge 2 IBitmapDrawable. one of them is 24*20 while the other is 16*16.i want to draw the smaller first in a bitmapData object which its width and height are 24*20 but i want to draw it in the center of the big bounds.

[Code]...

View 2 Replies

ActionScript 3.0 :: BitmapData Draw() Method - Draw The Bitmap On The Stage At Design Time?

Mar 18, 2009

I am using the draw() method of the BitmapData to encode a jpeg of part of the image. Now this should be easy enough given the object I want to draw to the bitmap is on the stage at design time so I know its location and dimetions exactly! Heres the code I have in place.

Code:
var myBitmapSource:BitmapData = new BitmapData ( street.width, street.height, false, 0x333333);
myBitmapSource.draw(street, null, null, null, new Rectangle( 96, 5, 571, 450 ), true );

I know for a FACT that no part of the street clip I am drawing out is in negative space, and it's registration is (0,0). However, it cuts off A lot of the top of my image. y=5 in the above rectangle is where I need the top to be, but it cuts the top off of the image... even if I change it to 0, it has no effect.

View 2 Replies

ActionScript 3.0 :: Youtube Api Draw - Error #2121: Security Sandbox Violation: BitmapData.draw

Jun 30, 2011

I'm making something that requires me to draw() the youtubeplayer Giving me this pretty error:

[Code]...

View 4 Replies

ActionScript 3.0 :: BitmapData.draw() Failing To Draw Entire MovieClip?

Dec 15, 2009

I'm trying to do some lean blitting for an object that rotates by rotating it once at startup and capturing a BitmapData snapshot of each 5 degrees. The problem I'm having is that the draw() method of the BitmapData object is only picking up pixels in the MovieClip that are below and to the right of the registration point. If I change the MC so that the registration point is in the top left corner, I sometimes get what looks like most of the pixels, but the entire object rotates into and out of the frame, since it's rotating around the corner and not the center.

View 5 Replies

Actionscript 3 :: Draw Something Like THIS Using Flex 3?

Nov 9, 2010

I am trying to create a "radar-like" control within our Flex application. See the following link for an example (sorry, small image...) [URL] This is my first foray into drawing with Flex. I would like to draw the main circles of the radar, the radar scanning shape, and circles/balls representing objects within the radar. These objects need to have the ability to be clicked on or hovered over so the user can get more information. I'm looking at Sprite's and Shapes, etc. but confused as which to use to create such a control.

View 3 Replies

Flex :: Draw Daisy Using Degrafa?

Dec 4, 2009

I'm trying to create dynamic flower component to depict relations between parent object and it's children.Parent object is represented by daisy center and the children are represented by petals. Each of above can have a specific fill/color and text label, moreover petals should be draggable. My question is: is that possible to do using Degrafa? Can anyone post an example of drawing flower using degrafa?

View 1 Replies

Flex :: Draw To A Sprite Outside Of A Class?

Dec 26, 2009

I'm wondering (based on scoping rules) how I might do the following: I want to draw to a sprite that exists on the main stage in which I have a class instantiated.

So something like

public function MyClass(reference:String){
this.reference = reference;
}

[Code]...

Would I use super() in this case, or what's the usual methodology?

View 1 Replies

Flex :: 3D Charting - How To Draw Surfaces

Mar 26, 2010

Do you have any recommendation for a free 3D charting library in Flex. To be more precise, I only need to draw surface (for now). Basically, I just need a chart that displays three axes (one should be timeline, and two should be linear axises) and the surface.

From what I have seen so far, two most popular free Flesh 3D libraries are Papervision3D and Away3D. Also, I've found one IBM library - ILOG Elixir that looks really nice, but it's proprietary (although, I haven't seen any surface examples for Elixir neither). From what I have seen, Papervision3D and Away3D should do much more then 3D charting, but I haven't seen any examples on how to draw surfaces in any of them (except this line chart in 3D: [URL]

View 1 Replies

Actionscript 3 :: Flex - Trying To Draw A Box Without Mxml

Aug 14, 2010

I'm trying to draw a box with actionscript 3 and flex 3.5. First a few things:

1) I am not using any IDE at all, just notepad and flex
2) I am not using any mxml file at all (yes this is possible with as3 apparently)
3) I am not using inheritance ie I'm not using an extends on my classes, I'm trying to get this particular bit of code to work only through composition

Anyway this is the code itself (the file name is MAIN.as):

[Code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved