Actionscript 3 :: Flex Chart With Multiple Y Axis Shows Wrong Horizontal Origin

Jul 16, 2010

I have created a flex chart with multiple Y axis. I want that it shows origin for one of the data series. It shows the line, but on the wrong plase.

Maybe it is because I didn't tell to GridLines which axis use as a source? But, I am not sure if it is possible to do...

how to show horizontal origin on a chart with multiple axis.

Here is an examle which reproduses my problem.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code]...

View 1 Replies


Similar Posts:


Actionscript 3 :: Flex Line Chart Zooming With A DateTimeAxis As Horizontal Axis

Jun 28, 2010

I have a problem zooming in on a line chart with a dateTimeAxis as horizontal axis. I want to zoom in and out, by setting the minimum and the maximum attribute of the dateTimeAxis with a slider. The date labels change as should, but the lines disappear as I set the minimum or the maximum. Here's a part of the code I have:

[Code]...

View 2 Replies

Flex :: 'fake' Multiple Series For Single Chart Or Same DateTime Axis For Multiple Charts?

Apr 11, 2011

I want a chart that has several separate series running in rows across. They are largely separate charts and should not overlap, but all share the same horizontal datetimeaxis. They don't share the same y-axis, however and that's where I'm getting stuck.I have tried having a linechart series and then a plotchart series, but it will only allow a single <mx:series> per chart without having them inside the same series which as far as I can tell will place the charts on top of each other in the z-axis. I can stack them and have them completely separate charts, but it was proving to be somewhat irritating having them align correctly.

Is there any reasonable way of combining multiple charts into one like this? Basically having rows in a table where each row is a different chart but the columns are consistent. or am I going to be best served just by stacking separate ones? an illustration of what i'm going for is here: http:[url]........

View 1 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 :: 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 :: FLV Video Shows Wrong Playhead Time?

Jan 2, 2012

I am recording FLV videos with Red5 server and playing them back in a Flex app. I am aware that Red5 does not properly inject the FLV MetaData, so I am using an external commandline tool to get the metadata in there.

Because I am injecting the metadata, my duration of the video is correct.

The problem I am having, and this is true with all FLV players I try to play the video with (even 3rd party stand-alone video players), is the PlayHead time is never started at 0. When I load up the FLV to play and lets say the video is 10 seconds long, the current time label on the playhead starts at 1-2seconds instead of 0 and the horizontal slider current time indicator also is moved away from 0 and is set to 1-2 seconds along the slidebar. the video plays back fine from what I can see though.

Is there a byte in the FLV that I need to change so that it will start the playhead at 0? I realize this is probably something to do with Red5, so if anyone has any work-arounds or potential things to watch out for that may be causing this

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

Actionscript 3 :: Flex Bar Chart With Two Y Axis?

May 19, 2010

I am trying to create a bar char in action 3 script. But for some reason I am getting 2 y-axis and no x axis.

Can some one help spot the error. I have said "placement " bottom. The chart creation method is "getBarChartData", this method when invoked creates a barchart and adds it to a canvas. This section is visible completely and can be called on a button click.

[Code]...

View 1 Replies

Flex :: Hide The Axis Of A Chart And Have It Not Take Up Any Space?

Jan 29, 2010

Is it possible to tell flex to display a chart with no visible axis? I want the contents of the chart to take up all the available space. I can set the visibility on the AxisRenderer to false which will hide the axis but that leaves an empty space where the axis would usually be. How can I remove this empty space?

<mx:horizontalAxis>
<mx:DateTimeAxis id="xAxis" dataUnits="hours" />
</mx:horizontalAxis>

[Code]....

I've tried setting the height on the renderer but that has no effect, and there is no height style on the axis itself.

View 2 Replies

Flex :: Chart Not Displaying Right Values Along X Axis?

May 25, 2010

If the below code is run (i know the cData sections are not visible in the preview, something causes it to be ignored).

The result does not represent the data correctly.

1. Flex ignores missing date 24 aug for DECKER.

2. It wrongly associates 42.77 to 23-Aug instead of 24-AUG.

Is there a way in flex, where the x-axis is a union of all available points ?

[Code]....

View 2 Replies

Flex :: Different Or Variable Intervals On Chart Axis

Mar 23, 2011

I have a Flex chart and on the x-axis want to be able to have different intervals set so I can draw gridlines.For example the axis may be from 0 to 82 and I would want to have an interval at 6,8, 21, 29, 40, 49, 52, 59 and 70.

View 1 Replies

Flex :: Show Only Whole Numbers On A Chart Axis?

Mar 31, 2011

I'm trying to show some data that's integers but the BarChart is using fractional values on the axis which makes no sense in this scenario. Is there any way to force the chart to only use integer values on the axis? I don't know the range so it could be anything from 1 to 10000000, so I can't just explicitly set up everything.

View 4 Replies

Actionscript :: Flex 3 Set Maximum And Minimum X Axis Value In Bar Chart

Sep 18, 2009

I want to set Maximum and minimum value for X axis in bar chart in flex action script 3 file.

Following line in working in MXML file but I want these code in actionscript 3.

View 2 Replies

Flex :: 3 - Chart Axis Title Blinking On Resize

May 21, 2010

I am having a chart with titles for horizontal and vertical axis. the verticalAxisTitleAlignment property of the vertical axis renderer is set to vertical. The application is a portal sort of thing and this chart is placed inside a small window. on click of the window am resizing the parent of the chart. but at that time the title of the axis is blinking and it provides a feeling that the resizing is not smooth. I dont understand why this happens? does the tile renders each time when the component is maximized? is there any way to stop that?

[Code]....

View 1 Replies

Actionscript 3 - Flex Chart Exceeds Axis Maximum?

Mar 11, 2011

I need to figure out how to get a column in a columnchart to show 100% height if it exceeds the axis maximum.For example, I am using a linear axis with a maximum of 2 but want to visually show that the column is at least 2 or greater but not show more than 2 on the axis.Currently if a value exceeds the axis maximum, flex simply doesn't show the column.

View 2 Replies

Flex :: Chart Labels Way Too Small - How To Resize Axis

Apr 29, 2011

So I have a Flex bar chart that resizes dynamically, and if I have only a few items, the height shrinks and the horizontal axis and label shrink along with it. If the height of the chart is small enough, the label shrink down to practically nothing. How can I enforce a minimum height for the axis itself? Or even a minimum font size for the labels? I've tried setting the font size on the axis renderer and the axis label renderer and Flex still wants to resize the labels how it wants.

View 1 Replies

Flex :: Show Sum Of Two Or More Columns In Y- Axis Of Column Chart?

Jun 8, 2011

I am taking data from SAP and displaying in column chart in a dashboard. I am using an ArrayCollection as data provider. This has 27 columns(fields). So i am using 27 columns charts. However, I also have to display the summary of these in two charts.i.e. sum of 14 columns in one chart and 13 columns into other.

View 2 Replies

Flex :: Display Text With Images In Bar Chart Axis?

Aug 29, 2011

I am creating column chart to show friends score statistics in facebook application. My problem is how to display friend names with images in y-axis and their score in x-axis.I cant able to pass any arguments in the method 'setSource' of tag. see the sample code here.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical" width="100%" height="100%">
<mx:Script><![CDATA[

[Code]......

View 1 Replies

XML :: Flex BarChart - Using Data For Horizontal Axis

Apr 17, 2010

<Projectlist><Project>
<ProjectName>Alcoswitch - ToggleSwitches
</ProjectName>
<ProjectStatusname>Planning</ProjectStatusname>
</Project><Project><ProjectName>
Transverse Wedge</ProjectName>
[Code] .....
My X-Axis shows multiple values of In-Progress, but I just need one. Is it possible to represent such relationship using BarChart. Any other Flex chart is Advisable.

View 1 Replies

Actionscript 3 :: Add Labels To Horizontal Axis In Flex?

Oct 11, 2011

I am using a Column Chart to display certain data. The data is provided by an array collection. The array contains 3 elements for the horizontal axis, hence 3 labels are shown on the horizontal axis. I want to show 2 additional labels(i.e. total 5 labels) dynamically on the chart. I there a way to add labels to the horizontal axis.[code]...

View 1 Replies

Actionscript :: Flex: Add Horizontal Axes To A Chart?

Apr 28, 2009

I have a dynamically created chart and I need to add a horizontal and vertical axis in a script. I can't put the chart into MXML because I'm dynamically changing the chart type, deleting and creating a new chart. Therefore, the variable that I use to create the chart, an instance of chartBase, doesn't have either a horizontalAxis or verticalAxis. How do I assign to them if they don't exist? Should I be using a different type? The graphs I want to use are line, bar, and HLOC and/or candlestick.

View 1 Replies

Actionscript 3 :: Flex Reset Chart Axis Minimum / Maximum

Nov 11, 2009

I am showing a stacked bar chart with Flex, and I am dynamically changing the data of the dataprovider. However, the minimum and maximum for the y-axis do not get reset with the new data. So if one dataset had a value of -100,000, but the next dataset has only positive values, the y-axis still starts at -100,000. How can I force the chart to redraw. I tried myChart.validateNow(), dataprovider.refresh(), etc.

[Code]...

View 3 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 :: Add A Single Horizontal Line In A Chart/Graph?

Jun 1, 2011

Here is my question:I have a hybrid chart that uses bars and linesI want to add to the right vertical axis a horizontal line that represents a break even

<mx:ColumnChart id="cvpaOpenCloseRatio" x="79" y="107"
dataProvider="{CF_Closed_to_Opened_by_MonthResult.lastResult}"
showDataTips="true">

[code]......

View 1 Replies

Flex :: AMCharts - Programmatic Scroll On Horizontal Axis

Nov 20, 2011

I would like to scroll the amcharts flex stock chart programmatically on it's horizontal axis, in other words along the time axis. I need to do this, because I need to scroll one period at a time and would like to hook this up to keyboard events. I couldn't find anything in the documentation here: [URL]. I've also tried mucking around with the period selector to see whether I can change the values on it, but no luck there.

View 1 Replies

Actionscript 3 :: Flex Chart : Horizontal Line At 0 When Having Negative Values?

Nov 24, 2009

I have a Flex Column Chart, which shows bars with each positive and negative values.I only want to have a horizontal line at 0 to distinguish between positive and negative values.I turned off all the axis.How could I achieve to get this line?

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 :: Top Horizontal Grid Line On Column Chart Is Not Applying Style

Oct 21, 2010

I have a Flex Column Chart that has a range of 0 - 6 on the y-axis. I have added the following block to change the default colour of the horizontal grid lines to black.

<mx:backgroundElements>
<mx:GridLines>
<mx:horizontalStroke>

[Code]....

This works fine for all but the horizontal grid line at the top of the chart (at y=6). If I change the maximum value for the y-axis to something different then this new max doesn't have the formatting applied (but all the others do).

how do I get the top line to be black like the rest of the grid lines?

View 1 Replies

Flex Chart With Multiple Series And Multiple Axes?

Jun 1, 2011

There is a serious issue I am facing with flash builder charts.

When I load the chart the first time I get this -

But if I refresh the page immediately in the same browser, I get this -

The second one is the expected one. This issue just repeats if I close the browser window and open it in a new browser window. For explaining properly, I am attaching the source code here -

[Code]...

View 1 Replies

ActionScript 3.0 :: Gets The (wrong) Values And Shows Them As A Color?

May 23, 2011

We have an hsb- color wheel (.png) and we have create a circle which is rotating on the color-wheel. It should grab the color on the wheel, but there is the problem --> It doesn't. We try to make it with the getPixel function and flash traces some numbers, but the wrong ones. In addition there is a rectangle which gets the (wrong) values and shows them as a color.
 
function mouseDownHHandler(e:MouseEvent):void {
sButtonH.startDrag(false, rechteckH);
 
/ROTATION
stage.addEventListener(Event.ENTER_FRAME,rotate);
function rotate (e:Event){[code]....

View 3 Replies







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