Actionscript 3 :: Flex - Create Custom Stroke On LineSeries?

Jan 15, 2010

You can easily set a stroke on a line series like this:

[Code]...

This will set alpha for the entire stroke to .8 But I want to be able to set a different alpha on the stoke for each plot based on something in the dataProvider. For example the yField in the lineSeries is "Apple" which is how it knows where to plot for the lineSeries. I want to be able to add something like alphaField which tells it what to set the stroke alpha for each plot.

[Code]...

View 3 Replies


Similar Posts:


Flex :: Charts - LineSeries InterpolateValues As ZERO?

Jan 22, 2010

In a LineChart in Flex you can set a LineSeries to interpolateValues="true" what this does is connect missing values so you do not have gaps in your line. But what I would like is for it to insert 0's for the missing fields instead of drawing a direct line to fill the gap.

Is there a way to set it to do that?

View 1 Replies

Flex :: Dynamically Add LineSeries To CartesianChart?

May 4, 2010

the LineSeries is not dynamically added to my CartesianChart...What's wrong in this code:

private function chartComplete():void {
var ls:LineSeries = new LineSeries();
ls.styleName = 'timeline';

[code].....

View 1 Replies

Flex :: How To Find Max Value Of Group Of LineSeries

Jan 19, 2011

I need to recalculate the max value of lineChart according to the visible lineseries. In the application I have the ability to make visible or not the lineseries of the graph and if I make not visible the lineseries with the actual top value I want to zoom in and change the top value of the graph.

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

Graph Flex LineSeries / Find Y-value Along Curve

Feb 27, 2010

I've created a Flex LineChart that shows high and low tide predictions over time. I'm using the LineSeries with form="curve", which produces a nice sinusoidal wave graph, representing water level over time. The X-axis represents time, and the Y-axis represents water level. The only data points I have to work with are high and low tide values, but I would like to figure out how to determine the y-values of arbitrary x-values along the line.[code]

View 2 Replies

Flex :: Animation - LineSeries AnimateColor Not Working?

Jun 1, 2011

This is a fairly simple question I would think.here is the code (I cut it down for an easy read)

<fx:Declarations>
<s:AnimateColor id="rw"
target="{targetRatioCol}"

[code]....

View 1 Replies

Flex :: LineSeries AreaSeries On AreaChart - Get The Intersection Point?

May 4, 2010

I am plotting an AreaSeries and a LineSeries on a AreaChart using Flex 3 in built chart components. I want to code a custom item renderer for LineSeries to be shown at the intersection points where LineSeries crosses AreaSeries.

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

ActionScript 2.0 :: Create A 1px Stroke Around The Thumbnails In Flash?

Apr 30, 2006

I want to create a 1px stroke around the thumbnails in flash with actionscript. after browsing a gallery , is it possible to hide the "next" button? The same in the begining, is it possible to hide the "previous" button on photo 1/10?

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 :: Create Advanced Flex Custom Components Library?

Nov 25, 2011

I want to create a custom component library. the components are customize-able during creation time. means like Accordion or TabNavigator, when we drag and drop the Accordion in flash builder it

<mx:Accordion x="38" y="167" width="200" height="200">
<s:NavigatorContent width="100%" height="100%" label="Accordion Pane 1">
</s:NavigatorContent>

[code]....

View 2 Replies

Actionscript 3 :: Create Custom Flex Component In Flex 4?

Sep 6, 2011

I need to create custom component like [code]...

Here, I need to create custom component object, changing their element values and appending that custom component in VBox. What are the correct syntax to implement this one?

View 2 Replies

Css :: Flex 4 - Create A Custom Css Value For A Component

Nov 5, 2009

is there any way to create a custom css value for a component and have it available to the skin class that component is using? for example, if i define this in a css file:

[Code]....

is there a way to make myCustomValue available in the PanelSkin ?

View 3 Replies

Flex :: How To Create Custom Fields In AS3

Jun 1, 2011

I'm trying to CREATE custom fields from flex, but I'm having hard time finding the correct syntax. Below is the piece of code that I'm using and it's resulting in error

"sf:INVALID_TYPE INVALID_TYPE: null objects not allowed in create/update request"
var con:Connection = new Connection();
var lRequest:LoginRequest = new LoginRequest();
lRequest.username = username1.text;
lRequest.password = password1.text;
[Code] .....

View 1 Replies

Flex :: Create A Flash Custom Button ?

Sep 29, 2009

I'm using Flash CS4 and Flex 3.4.0. I'd like to create a vector-graphic button in Flash and use it in Flex.I'd tried to install the Flex Component Kit, but it won't add me the 2 commands I need for the conversion as stated here.

View 2 Replies

Flex :: Any Way To Create Extensible Custom Container?

Apr 21, 2010

I want to create an MXML container component that has some of its own chrome -- a standard query display, et al -- and that supports the addition of child components to it. Something a lot like the existing mx:Panel class, which includes a title label, but acts like a plain mx:Box with regards to adding children. To be clear, I want to be able to extend the container using MXML, so the "Multiple visual children" problem is relevant.

View 2 Replies

Flex :: Create A Custom Button With 3 Labels?

Mar 15, 2011

I would like to create a custom Button component with three labels: left-, center-, and right-justified. I can't just use the label justification property, because I want to use all 3 labels at the same time.

I'm familiar with creating custom components, but I've never tried to build one quite like this before...

Here's what I have so far:

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

[Code]....

The labels won't change after the button is created, so I'm not worried about the missing [Bindable] metadata.

I'm stuck right now, getting the following compiler error:

Multiple initializer values for default property, 'label', of type 'String'.

...for each of the 3 <s:Label> lines.

Based on this answer to a similar question, I tried adding label="" to my <s:Button> declaration, but that just adds another error.

View 1 Replies

Flex :: Create A Custom Component That Consists Of A Button

Jul 18, 2009

I am trying to create a custom component in flex that consists of a Button, and a TileList directly below that button. On button click event the TileList should open/close. The component works fine, but when I add it to my main flex app, inside a VBox, it simply opens and closes within the VBox. Because the height of the VBox is much smaller than the custom component's TileList, it causes scrollbars. My issue with it is that it should behave like a ComboBox/Pull-down menu and go over the VBox, instead of going inside it. how to overlay the custom component, so it behaves like a ComboBox/Pull-down?

View 1 Replies

Flex :: Use FXG Or Bitmap Images To Create Custom Skins?

Sep 6, 2010

I need to create a lot of custom Flex 4 skins, in most of the examples I found on the web people use FXG in order to create the skins but if a lot of the icons I use are not resizeable should I still use FXG or better use just plain old bitmap images (jpg. png)?

View 1 Replies

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

Flex :: Create Custom Error And Notify Messages?

Mar 6, 2011

I want to create custom error and notify messages, but i don't know which element should I use. In the message there should be icon and text I tried to use Label but don't know how to build custom label the one I need. Is there a resource on how to create a custom label or tip how to do it?

View 1 Replies

Flex :: Create Custom Loading Page In Web Application?

Jul 14, 2011

Possible Duplicate:Custom Preloader in Flex 4?I am working with a flex web application and i want to implement custom loading page on application startup like the above

View 2 Replies

Flash :: Create A Custom Scroll Bar In FLEX 3.0 Application

Jan 25, 2012

I want to create a Custom Scroll bar in my FLEX 3.0 application. Which should enable to use Text instead of |||| that shows in ScrollThumb... I have used mx_internal for changing the style of that but still facing the problem that text is not displayed. here is the code that i have created.

[Code]...

View 1 Replies

ActionScript 3.0 :: Flex - Create A Swc For All Custom Classes But The Swc Never Compiles

Feb 17, 2009

I am following these direction to the TEE to create a swc for all my custom classes but the swc never compiles. Is there another way of doing this?? [URL]

View 1 Replies

Actionscript 3 :: Create Custom Taskbar Icon In Flex Application?

Jun 2, 2010

I'm trying to create custom icons for my taskbar/desktop icons in my Flex WindowedApplication. So far, I've edited my -app.xml file to include the following[code]...

View 1 Replies

Flex :: Create Simple Custom Component With Two Labels With This MXML?

Oct 7, 2010

I'm trying to create simple custom component with two labels with this MXML:

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="250" height="30">
<mx:String id="result" />
<mx:Label x="5" y="7" id="titleLabel" text="{label}" width="120"/>
<mx:Label x="125" y="7" id="resultLabel" text="{result}" width="120" textAlign="right" color="#A41D00"/>
</mx:Canvas>

It is working well at runtime, bud I have troubles making it working at design-time. How can I make databinding work at the design time? If it is impossible, how should I code the label text assignments?

View 2 Replies

Actionscript 3 :: Create Custom Marker In Google Maps For Flex

Mar 2, 2011

I have to create a marker with 3 triangles at 120 degrees with each other. The fill colour of the three triangles will be different (to be decided depending upon the value of some other variable).

Google Maps can accept DisplayObjects as markers. How do I go about creating one manually?

View 1 Replies

Actionscript 3 :: Create Instances Of Flex Custom Component By Passing In Type

Jul 28, 2009

In my flex app there are a few custom components. I want to create instance of these components at runtime and assign them properties by reading in a config file. I know how to read xml and instantiate components, however my question is about being able to get the type of the component from the xml attribute and then creating an instance of that type.

View 1 Replies

Flex :: Create A Floating Notification Message Of Sorts For A Custom Component?

May 13, 2010

I have a custom TextInput-based component for date and time with certain restrictions on what's considered "within range". But it's still fine to insert dates that are outside the range. When a user types in a date, on valueCommit, I'd like to be able to display a hovering notification to the user, to inform/warn them that the date is outside the accepted range.

I'm thinking of notifications ala the Validators, but I'd rather not use the Validator mechanism because it's really not validation, just notification. Something like a tooltip, but it will only appear if the user changed the value. Maybe an effect of some sort?

View 1 Replies







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