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


Similar Posts:


Flex :: Components - Chart That Has Both Plots And Lines?

Apr 6, 2011

Flex has a plotchart component and a linechart component.. but I am looking to make a chart that has lines connecting points as well as larger dots with rollover info. Is this easily possible? Would I have to create a custom component from scratch to achieve this?

View 2 Replies

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

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 :: 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

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

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

ActionScript 2.0 :: Plots The Points And Connects The Lines?

Jan 5, 2007

I have a Flash animation that is entirely created with AS 2.0. It creates a line graph based on some data. It works perfectly as is, but I'd like to add a little flair. As it plots the points and connects the lines, I'd like to have a tiny pause between each. I'd like the user to see the line being drawn across the screen rather than it all appearing instantaneously.Is there any code that can make a script "pause" for a set amount of time?

View 6 Replies

ActionScript 3.0 :: Make A List Of All These Open 'plots' In An Array?

Nov 26, 2009

I'm building a kind of dynamic level generator, at the moment I have it draw a grid of alternating coloured squares/plots (for visual debug), currently set at 1 pixel which I then scale up so they are easier to see. I make a list of all these open 'plots' in an array(maybe a dictionary would be better?)... Next I draw a random selection of roads on top of my grid in another sprite. Ranging in width from 2 to 8 plots. First drawing all the horizontal, and then the vertical ones. Now I'm wondering what would be the best way of finding all the plots/pixels that these roads occupy?I thought perhaps I could draw the roads into bitmap data, and then find the x,y values of all the black pixels? something like:

PHP Code:
var bData:BitmapData = new BitmapData(roads.width, roads.height, false);
bData.draw(roads)

[code]........

View 5 Replies

ActionScript 2.0 :: On The Button Release It Doesn't Go To The Frame That I Labelled?

Dec 15, 2006

here is my script:

stop();
//setting up the list of frame names for the buttons
imagelist = ["horror","legs","chair"];[code]....

So my problem is that on the button release it doesn't go to the frame that I labelled .My button symbol is called b_next with instance name of next_b. So don't think thats the problem. Is it because I made an array that equals the instance name of my frames?

View 1 Replies

ActionScript 3.0 :: Controlling Labelled MovieClip On Stage From A Child .as File

Jun 20, 2009

I have an FLA file with a movieclip on the stage which is labelled "blok", and a button on the stage labelled "button1". This FLA is attached to a file called main.as through the document class.

In the same folder where I am storing main.as I have a second .as file called secondFile.as. I have imported this class into main.as using: import com.tests.secondFile;

and in the constructor of main.as I have put:

loadB=new secondFile(button1);
addChild(loadB);

Within secondFile.as my constructor looks like this:

public function secondFile(button1:SimpleButton){
button1=button1;
button1.addEventListener(MouseEvent.MOUSE_DOWN, buttonPushed);
}

[Code]....

Basically I'm trying to get the MovieClip labelled "blok" to move by 50 pixels on the stage when button1 is pressed, but when I test my FLA I get the following error:

1119: Access of possibly undefined property blok through a reference with static type flash.displayisplayObjectContainer.

I would have thought that this.parent.blok would control my movieclip labelled blok on the stage of my FLA from within secondFile.as since secondFile.as is a child of main.as which is the document class of my FLA, but obviously this is not right.

how to access labelled items on the stage from within a child object.

View 6 Replies

ActionScript 2.0 :: Play Until Labelled Frame - Different Frames For Dfferent Buttons?

Jul 24, 2007

how to make a movie clip play UNTIL a certain frame depending on which button is pressed. Logically it would be called playuntilandstop();

View 1 Replies

ActionScript 2.0 :: Not Working In Netscape - Moves Forward To A Frame Labelled "row2"

Mar 21, 2003

i have a button that when you click on it it moves forward to a frame labelled "row2". it works on ie but not on netscape? the code i am using is

[Code]...

View 1 Replies

Actionscript 3 :: Compiling Flex 4.0 App On Flex 4.5/4.5.1 Flex Sdk?

Oct 21, 2011

where I can find info about compiling flex 4.0 sdk on flex 4.5/4.5.1 sdk.I am having troubles. compilation goes well on 4.0 but whe I compile on 4.5 or 4.5.1 I get blank swf.

Note: I have set flash player 10.2 for compilation and also as default.

View 1 Replies

Actionscript 3 :: Flex : Access The Implicit Event Dispatcher Of A Bindable Flex Object?

Mar 4, 2010

If I create an object like so:

class Foo {
[Bindable] public var property: String;
}

The class Foo has an implicit event dispatcher to handle property change events. How can I access that without making Foo explicitly extend EventDispatcher?

View 1 Replies







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