Flex :: How To Hide Axis Lines With CSS

Oct 25, 2011

How do I hide my axis lines with CSS? Shouldn't this work?

<mx:Style>
@namespace mx "library://ns.adobe.com/flex/mx";
mx|ColumnChart {

[code].....

View 1 Replies


Similar Posts:


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

ActionScript 3.0 :: Hide Partially-shown Text Lines On Dynamic Textfield?

Feb 29, 2012

Is there a way to hide partially shown text lines on a dynamic textfield that has more text than its size can hold? I want to avoid the situation found on the picture below by simply not showing the areas in red (the text comes from lots of sources, so I don't have control over it).

View 2 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

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

Actionscript 3.0 :: Blitting Lines - Draw Approximately 50000 Lines And Performance Is Poor?

Aug 17, 2011

I have been working on a map viewer based blitting technique. As part of the map I need to draw approximately 50000 lines and performance is currently really poor.

Code: Select allvar movie:Shape = new Shape();
for( ... )
{
movie.graphics.clear();[code].....

View 2 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

ActionScript 3.0 :: Drawing Lines Between Mc's, Getting Lines In Stage Co-ords, Not Mc's?

Nov 15, 2009

My code is on the main timeline.I call a function loop to draw lines between them.The lines are drawing between the right x, y values BUT between those values on the main stage, not those values within the kite.For example, dot1_mc is at x100, y0 inside kite. the line that should go from its center, draws from stage x100, 0.How do I draw the lines inside kite so that they draw between the dots?Heres my code that draws the linesPHP Code:

function loop():void{ lineDrawing.graphics.clear(); var a:Point = new Point(kite_mc.dot1_mc.x, kite_mc.dot1_mc.y); var b:Point = new Point(kite_mc.dot2_mc.x, kite_mc.dot2_mc.y); var c:Point = new

[code].....

View 4 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 :: Text - Truncate A Flex StyleableTextField After Two Lines?

Aug 19, 2011

In my Flex 4.5 mobile app, I have an actionScript item renderer (that derives from Flex's LabelItemRenderer). I want to fit in exactly 2 lines of text, and then truncate the rest. The width and height of the label are fixed and known statically. How can I do this? The StyleableTextField.truncateToFit() method only works for one line of text.

I've set wordWrap = true, so the text now flows into the second line - but I need to truncate the text if it doesn't fit in two lines. I need it to show all the text if there is only one line. (in both cases the label should be vertically middle-aligned in my renderer) I know how to override layoutContents to do sizing and positioning etc of the StyleableTextField. So I'm looking specifically for ideas to implement custom text truncation with the StyleableTextField).

View 1 Replies

Flex :: Change Starting Value On Y Axis?

Oct 27, 2009

Is it possible to change the starting value on an axis for a chart in Flex 3.4? For example, rather than the y axis starting at 0, have it start at 50.

View 1 Replies

Flex :: Ability To Click On Axis?

Dec 17, 2009

I need to have interactive axis where user can click on it and I can return the clicked data points.

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 - Datatipfunction - Flex Chart Hide A Datatip?

Oct 6, 2010

We get data from multiple feeds and data may or may not exist for a certain date. o, for points that have no data we send NaN.

[Code]...

View 2 Replies

Flex :: Add A Click Event To Axis Labels?

Apr 10, 2012

I have a bar chart with the vertical axis this way

<mx:verticalAxis >
<mx:CategoryAxis id="catAxis" title="Employee" categoryField="id"/>
</mx:verticalAxis>

I would for the labels on the vertical axis to be clickable. So when a user clicks a label a click event fires and I can do something with it. I am not interested in clicking the bar itself (I know how to achieve that)

I tried adding an event listener to the CategoryAxis of type Mouse.Click but nothing gets fired.

View 2 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

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 :: 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 :: 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 :: 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 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 :: Rotate Rectangle Around An Axis In Flex

Feb 3, 2012

I was trying to rotate a group(rectangle) on the bottom right coordinates using flex..

See the image

how to achieve this rotation ?

View 2 Replies

ActionScript 3.0 :: Mouse.hide() Error 1061: Call To A Possibly Undefined Method Hide Through A Reference With Static Type Class

Sep 12, 2011

I am using AS 3 Flash CS4, WIndows XP SP3. I am unable to use the Mouse.hide(); method in many of my scripts. If I add Mouse.hide() to a preexisting script, I get the following error; line1 1061: Call to a possibly undefined method hide through a reference with static type Class. If I add Mouse.hide():void; to a preexisting script, I get the following error: line1 Label must be a simple identifier Once this has happened, if I then remove ALL lines of script from the file...but leave the Mouse.hide(); [or Mouse.hide():void;], and also remove all objects from the stage, when I run the file, I still get those same errors.

[CODE]...

View 3 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







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