Flex :: Overlaid ColumnSet Vertical Axis Not Updating In ColumnChart

Oct 18, 2011

I have a neat chart that is rendering overlaid columns with values in excess of 6000 but my vertical axis stays at 0-100, as if my dataProvider was being ignored.
The problem here is with "msAxis" autoAdjust didn't change anything. Do I need to force its values manually?

<mx:ColumnChart xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"

[Code].....

View 1 Replies


Similar Posts:


Flex 3 :: Create A Custom Vertical Axis In ColumnChart

Oct 22, 2010

I need to create a custom y-axis in a columnChart that resembles a tall / skinny VBox (sorry can't post pictures) and has the axis labels (20, 40, 60, 80, 100) inside the axis.By default, the y-axis is a line and I have found methods of making the line thicker but I need the labels inside the axis.I have tried using the AxisRenderer class but can not find any good examples on the proper use.

View 1 Replies

ActionScript 3.0 :: Dynamic ColumnSet Rendering As 'overlaid' Instead Of 'stacked'?

Apr 19, 2011

I am using the charting components of Flex to build dynamic charts in Action Script. I'm struggling to get a stacked column set working within a cartesian chart. The chart object and horizontal axis are defined statically within mxml code, and the column set, column series, vertical axis, and other vertical axes, axis renderers, and line/plot series components are all defined dynamically in actionscript.

When I specify my ColumnSet object's type attribute to 'stacked' it renders all the column series data as overlaid instead of stacked. I can specify 'clusterd' dynamically (leaving everything else the same) and it will re-render correctly as clustered, but I've tried several different 'workarounds' to try and force stacked to occur without any luck. The same structure works fine to stack if everything is defined statically in mxml instead of being built dynamically.

Here's a snippet of the MXML definitions:

<mx:CartesianChart id="myColumnChart"
doubleClickEnabled="true"
width="100%"

[code]....

why dynamic construction would act differently than statically defining the chart's series elements, and only when 'stacked' is the column set's type? Is there some magic function call I need to make to get them to stack?

View 0 Replies

Flex :: Align Vertical Axis Zero For Multiple Vertical Axis Chart?

Mar 22, 2011

Based on this Adobe multiple axis chart example: [URL]

Then I changed some data values to negative and my axis became not aligned anymore.

how to align vertical axis? Is this another Adobe bug or there is some property that aligns axis?

<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"

[Code]...

View 1 Replies

Flex :: Fixed Y-axis Width In Columnchart

Sep 22, 2010

I'm using a flex columnchart to display data, that changes at runtime. It works perfectly, except the fact, that the y-axis with is automatically resized when the values goes under 1.For example first the values of the charts are between 0 and 10. The y-axis now has labels like 0,1,2,3,4...10. If the values are going under 1 the labels are updated to 0.0, 0.1, 0.2...1.0. And because of the width of the labels, the group with the charts is resized.It looks like the chart is "jumping".So, I need a way, to set a fixed width of the y-axis of the chart.

View 2 Replies

Flex :: Get Correct Y-axis When There Is A Vertical Scroll?

Aug 17, 2010

In flex, I am getting the y-coordinate in the following way:

nextHBox = HBox(ingBox.getChildByName("ing" + nextId));
nextYAxis = ingBox.localToGlobal(new Point(nextHBox.x,nextHBox.y)).y;
newCanvas.x = nextYAxis;

nextYAxis gives me the y-axis and I use it to position new component. It works absolutely fine. But, when there is vertical scroll, and I scroll it a little bit, and then the above mentioned code places the component at wrong place. I believe, it has something to do with the scroll.

View 1 Replies

Flex :: Add A Click Event Handler To The Vertical Axis Of A BarChart?

Mar 15, 2010

add a click event handler to the vertical axis (or any axis) of a barchart in flex? If I add the handler to the BarChart itself, it looks as though the event doesn't fire unless you click on the actual chart, not the axes.

View 1 Replies

ActionScript 2.0 :: Creating Vertical Menu Draggable On Y Axis

Sep 3, 2010

I am building a vertical menu that is draggable on the Y axis.
1.How do I add easing? Can I use fuse?
2.If the button that is being dragged reaches a point on the y axis it would trigger a function. If it is let go before reaching that point the button would snap back to the original position. I guess a simple (if statement) would work - but not working for me
3.Last thing. It is a vertical menu, so when a button is being dragged everything above it would drag with it. Cannot seem to get that to happen

View 1 Replies

Flex :: Stacked Bar Chart With Date As X-axis And Names As Y-axis?

Apr 13, 2012

I'm making a chart where the x-axis needs to have dates and y-axis names. The lenght of the bar is longer when the date is later. But I want to stack multiple bars on eachother. for example This is the code I have so far

<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;

[code].....

View 1 Replies

Flex :: ColumnChart - Any Way To Center Datatip Over Column?

Jun 24, 2009

I'm using a Flex ColumnChart with a custom dataTipRenderer. I'm able to apply a nice skin with the dataTipRenderer, but am not sure how to move the datatip to be centered. Is there a way to have the chart center the data tips over the column instead of the normal top-right alignment the chart does?

Instead of:
|tip text|
+++
+++
+++
+++
+++
+++
+++
+++

I want:
| tip text |
+++
+++
+++
+++
+++
+++
+++
+++

View 1 Replies

Flex :: ColumnChart: Dynamically Changing The Column Colors?

May 29, 2010

When using a ColumnChart created in Flex 3, how can I to change the fill color of columns that meet a certain criteria?

Example: I have 8 columns representing agreement percentages between groups of people and want to change the fill color (or otherwise highlight) of all the columns that have over 80% agreement.

View 1 Replies

Actionscript 3 :: Flex ColumnChart Label Is Getting Truncated (example Included)?

Jan 10, 2011

I can't seem to figure out why, but the label on my ColumnSeries always seems to get truncated regardless of how wide the column is. I've tried setting the labelSizeLimit to an arbitrarily large number, but that doesn't seem to help

Here is some sample code:

<?xml version="1.0" encoding="utf-8"?><mx:Application name="BarChart_barWidthRatio_test"
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"

[code]....

View 1 Replies

Css :: Apply StyleSheet To Datatips Of ColumnChart Control In Flex

Apr 29, 2011

how can i apply styleSheet to datatips of ColumnChart control in flex?

View 1 Replies

Flex :: Chart ColumnChart With Duplicate Entry Is Not Visible?

Mar 28, 2012

I have arraycollection with the attribute Month with similar data you can find Month:"Feb" for 5 times. If I run my application data wont appear on the screen for Feb i.e columnchart wont get displayed.

<mx:Script>
<![CDATA[
import mx.charts.series.ColumnSeries;
import mx.collections.ArrayCollection;

[Code]....

View 1 Replies

Flex :: Column - Prevent Duplicate Stacking In ColumnChart Control?

Feb 9, 2011

Here is my Problem: I'm currently using a ColumnChart to display 6 label/value pairs. When two labels are the same, the chart stacks them up, one on top of the other. I want to display these duplicates side by side, their value might be the same or it might be distinct. My first thought was to append a unique id to the label, but that's not possible according to the client. So, is there a way to tell the chart to also take a hidden id into consideration? Someone suggested to do some sort of grouping, but I need to display each chart separate, as if they were distinct charts.

the chart's data provider is an array of these objects:
obj.description = "des";
obj.countV = 3;//some arbitrary number
obj.id = 2; //a unique id..

View 1 Replies

Flash :: Flex Chart, ColumnWidthRatio Not Working On LinearAxis Of ColumnChart

Apr 13, 2011

Columns of columnChart are showing too narrow if i am using the LinearAxis, even tried columnWidthRatio = 0.95 for category axis, this is fine

I just want to increse the width of column on this chart.

Sample to reproduce the problem:

<mx:Script>
<![CDATA[
import mx.charts.chartClasses.IAxis;

[Code]....

View 1 Replies

Flex :: ColumnChart: Color Bars Differently Based On Data

May 9, 2011

How can I color the ColumnSeries differently based on data. I need something like a labelFunction only for the column fill.

EDIT: Attached image for JAX to understand. :)

View 1 Replies

ActionScript 3.0 :: Construct Coordinates With Distance In Meters On The X-axis And Time In Seconds On The Y-axis

Nov 27, 2011

I am trying to construct coordinates with distance in meters on the x-axis and time in seconds on the y-axis, without using the timeline. How can I draw the divisions on the x-axis and y-axis ? Or I better draw the whole thing.

var my_shape:Shape = new Shape();addChild(my_shape);
my_shape.graphics.lineStyle(3, 0xFF0000, 1);my_shape.graphics.moveTo(50,50);my_shape.graphics.lineTo(50, 300);my_shape.graphics.lineTo(500, 300);

View 9 Replies

ActionScript 2.0 :: Make An Object Move Along Y Axis Once It Has Reached Its X Axis Target?

Mar 2, 2005

I'm trying to grasp how functions and motion tweening works.

Heres my question. How do i make an object move along the y axis once it has reached its x axis target?

HEre is the code, that i got from here.

and what in this code is making the MC ease out?[code]...

View 14 Replies

ActionScript 3.0 :: Tweens Objects Return To Their Original Position - Start Jumping Between Y Axis 200 And Y Axis 83?

Aug 7, 2009

I've put together this simple code for an SWF with three roll over images (called: Training, Resources and Contact).When I roll over Training I would like the symbol Training_txt to tween its alpha to 1 (from 0) and tween its y axis to 220 (from 83).When I roll out of Training I would like to run the two tweens in reverse.
 
This works fine for each of the three roll over images, so long as each tween is allowed to fully execute before a new tween is started. The problem arises if i quickly move the mouse curser between the three roll over images before the previous tweens have finished executing.In this instance, the tweened objects start to behave erratically. They usually return to their original position as per the roll_out tween but then start jumping between y axis 200 and y axis 83 (without tweening - they just appear).

Code below -
 
stop();
import fl.transitions.Tween;
import fl.transitions.easing.*;[code]..........

View 1 Replies

Flex :: Displaying Images/icons Besides Y-axis In Flex Bar Charts?

Jul 28, 2011

I am trying to place an image besides the label in y-axis. So I have created a custom label renderer(A HBox containing and ). The source for the image has to be set based on a property present in the data provider. The problem is, I am not able to access the BarSeriesItem in the fnSetSource() method.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
width="1280" height="750">

[code].......

View 2 Replies

Flex :: Restrict Flex Bar Chart Y-axis Count?

Apr 30, 2010

Is it possible to restrict flex bar chart y-axis count?I have a very big name coming in my y-axis and i want to reduce or restrict it to 5 characters and on rollover i want to display it in full.

View 1 Replies

Flex - Updating An AIR Application?

Aug 6, 2011

I know there is a built-in update framework inside AIR but finding valid code samples for the latest versions proves to be hard. Some code for simple updating (assuming ActionScript 3,

View 1 Replies

Flex :: Tell When A Component (and It's Children) Are Done Updating?

May 28, 2011

I'm resizing a chart and want to take a picture of it when all the children of that chart are done updating.

For example I'm drawing some stuff on the chart after the size changes. I've tried chaining a bunch of callLater() but I'm still running into problems on slow computers.

Raising an event when the last children has executed doesn't seem to work as it might take a while to draw (hence the callLaters).

Is there a best practice to find out when something is done updating?

View 1 Replies

Flex :: Set Y-axis Width On A Flex Chart?

Jun 28, 2011

When using a Flex chart, the y-axis is drawn as a thick (about 8px) grey line. Is it possible to change this to be just a thin line like the x-axis?

View 1 Replies

Flex :: How To Set X And Y Axis Name In Chart

Jun 30, 2011

In Flex how can I set a custom name (string) for the X axis and Y axis titles of a chart?
(Horizontal Axis and Vertical Axis)

View 1 Replies

Flex :: Combobox Not Updating With Bindable Data

Jan 28, 2011

My Combobox is not alway updating when I update the ArrayCollection.[code]...

the first time it updates the combobox fine and sometimes it works the 2nd, 3rd, etc time is might update the combo box. After it stops updating the combobox, it never does until I restart the app. I have verified that the ArrayCollection is updated via the debug data, it is just the combobox is not updating the display.

View 1 Replies

Mysql :: Updating From Adobe Flex Application

Apr 18, 2011

I am very new to Flex. I want to build an application that will contain many radio buttons. I want to know how to update mysql by the status of radio buttons.

View 3 Replies

Flex :: Global Variable - Updating To Current ID

Aug 10, 2011

I am trying to work with a global variable in Flex and it does not appear to be working correctly. In my default mxml file I declare the following
public var appID:int;

This variable keeps track of the session ID across my application for SQL purposes. On another mxml page I call the following code which should update the global variable to the current ID.

// Get the ID
sqlStatement.text =
"SELECT Max(id)FROM applications";
sqlStatement.execute();
var result:SQLResult;
result = sqlStatement.getResult();
FlexGlobals.topLevelApplication.appID = result.data[0];

Lastly I run a SQL Update query using the ID as a parameter. My problem is that the FlexGlobals.topLevelApplication.appID is always 0, for some reason the global variable never gets updated, I have checked to ensure that result.data[0] is correct but the value never gets passed to the global variable.

View 2 Replies

Flex :: Update - Updating A Mobile Application

Sep 1, 2011

Is updating a Flex Mobile Application done in the same way an Air application is updated? Can't seem to find information specifically for mobile on this. Apparently, if I trace out Updater.isSupported, it gives back false. From the Adobe documentation: The AIR update framework is only supported in the desktop profile. It is not supported for extended desktop applications (applications installed with a native installer), and it is not supported on the mobile profile (iPhone applications written with ActionScript 3.0). Check the Updater.isSupported property at runtime to see if the update framework is supported. So how do you implement updates for Mobile Apps created with Flex (Android + iOs)?

View 1 Replies







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