Flex :: Adding Annotations To A PlotChart?

Dec 1, 2009

I'm looking to add(and remove, dynamically) text annotations to the PlotChart. Specifically I want to annotate plot points in the chart. I'm currently using the CircleItemRenderer for the points.I've found tutorials for other plot types, but they don't seem to apply to the PlotChart.

View 1 Replies


Similar Posts:


Flex :: PlotChart Zoom Error In FindDataPoints Function

Sep 8, 2011

I came across this great tutorial on how to zoom into a chart by drawing a rectangle in a LineChart to zoom into it [uRL] but I'm trying to apply it to a PlotChart instead and I'm having issues trying to get the DataTips showing with the following error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.charts.series::PlotSeries/findDataPoints()[E:dev4.5.1frameworksprojectschartssrcmxchartsseriesPlotSeries.as:961]
at mx.charts.chartClasses::ChartBase/findDataPoints()[E:dev4.5.1frameworksprojectschartssrcmxchartschartClassesChartBase.as:2069]
at mx.charts.chartClasses::ChartBase/mouseClickHandler()[E:dev4.5.1frameworksprojectschartssrcmxchartschartClassesChartBase.as:4823]

The link mentioned about extending the LineChartSeries and override the findDataPoints() function, but after trying to doing the same for extending PlotSeries.as, sortOnXField seems to be undefined and I don't have access to the PlotSeries.as since it is in a swc. Has anyone tried applying the following to a PlotChart instead and got the DataTips to show? What was the override function in the findDataPoints()?

View 1 Replies

Flex :: Developed BarCharts With Annotations?

Sep 14, 2010

I had developed BarCharts with annotations. Each bar is a one bar chart(displaying in attached jpeg). But i need total in one barchart with 4 bar series and annotations like a black line displaying in the middle (like,as shown in attached jpeg )http:[url]....Data is comming from the server and need plot into the charts,

View 1 Replies

Annotations - Flex Chart AnnotationElement Incorrect Data Points?

Jul 22, 2010

I have 2 Y-axis on the chart and I am trying to use annotationElement's localToData to get the data points associated with a Point on the chart.

The annotation Element is able to return a set of values for the point ( 1 Y - data, 1 -x data), But it is returning the values against one axis and not the other.

Is there a way to associate the annotation element with a specific axis ?

View 1 Replies

Actionscript :: Scaling Multiple Axes In PlotChart?

Jun 24, 2010

When I programmatically create a PlotChart starting w/ no series and adding series w/ own scaling and verticalAxes (and Renderers but not necessary for behavior error), the axes and data show, but the default axis controls all scaling and the other axes are erroneous. Thus, the yValue magnitudes do not correspond to their associated axes and mixing series w/ grossly different orders of magnitude squishes all but the largest into indistinguishable floor values. I cannot null out the default vertical axis as it gets an null pointer error. [Click anywhere on the chart to add the next series.]

package
{
/*
* Attempt to dynamically create graph w/ varying series. Having difficulty getting axis to render correctly based
* on sets of series. Having trouble getting more than one series. I can't munge the yValue property because in my
* actual code all of the data elements are instances of the same class with properties akin to series, xValue, and yValue.

[code]...

View 1 Replies

Javascript :: Removing Annotations On Embedded YouTube Videos

Nov 17, 2011

I've discovered that you can disable annotations on embedded YouTube videos by adding the parameter &iv_load_policy=3 to the url in the embed code.

Example:

<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/PMnEvKCtHBw&hl=en&fs=1&iv_load_policy=3"></param>

[Code]....

Is there any way to force this parameter on all YouTube embed urls on a webpage using javascript/jQuery?

(Sort of like this example where you force wmode transparent on all flash objects)

View 1 Replies

ActionScript 3.0 :: Softwares To Create Youtube Style Annotations?

Jun 17, 2011

I'm working on a guitar tutorial website where users can select parts of a song, then write an explanation of how to do that guitar technique. The explanation will pop up, like a youtube style annotation whenever someone plays that song. It's like the youtube video annotations, except exclusive to guitar lessons:When someone plays a song, the annotations get displayed in real time.-There will be 3 sql databases: user information (ex. email, password, etc...), song meta information (ex. song name, length of song, etc...), annotation information and content (ex. annotation start and end time (to queue when the analysis/annotation should be displayed), etc...). The flash gui will interact with all databases.There's a lot of options out there (Adobe flash CS5, flex, flash builder), what are the differences between the three?

View 0 Replies

Flex :: Adding Flex Capabilities To An Existing J2EE Enterprise Application Project

Sep 17, 2010

I have an J2EE Enterprise Application Project in which I would like to add a few Flex screens. How do I go about adding Flex capabilities.

I have build Flex/J2EE applications from scratch but can't think of the best way to do this.

I am currently using Flex Builder Plugin for IBM Rational Application Developer 7.5.

View 1 Replies

Flex :: Adding Runtime-library-path To Flex Build Configuration Using Ant Mxmlc Task

Feb 9, 2011

I'm trying to build a flex project, linking it to some RLSs. When setting up the project in Flex Builder, the corresponding "build configuration" (that I got by adding -dump-config to the compiler options) generates (among other things) a tag like this :

<runtime-shared-libraries>
<url>some-lib.swf</url>
<url>some-other-lib.swf</url>

[Code]....

View 2 Replies

Flex :: Adding Radio Button To Calendar In Flex 3?

May 28, 2010

I'm trying to make a Calendar which can have radio buttons embedded in specific dates, which will be chosen by making a service call, but that's not a problem. I have had two approaches to it so far, one could be taking a datagrid, and making it a calendar, and then placing the radio button inside the cell using an item renderer. The second approach could be Extending the Calendar class, and adding radio buttons inside. Using the first approach, the problem is to fit the dates in the right order in the grid for any specific month. We could get to know the first day (Mon,Tue..) of the month but filling the grids correctly causes issues. I was wondering if someone ever tried doing this or if there could be a simpler approach.

View 2 Replies

Flex :: Actionscript 3 - Adding Permssions To Flex 4 UI Without States?

Aug 23, 2010

I'm working in Flex 4.1, and I have a viewstack and tabbar as my main navigation. A user logs into the application and should then only be able to see what tabs are available to his user level.I am trying to stick with MXML as much as possible, since it works well with the framework. But I'm goin numb thinking about this. What are the common practices for doing this?FYI: the user level is slightly to complex for states. There are lots of options, way to many to comfortably do w/ states and state groups.

Chimp is a pretty cool library for those interested. It's a little old and there doesn't seem to be much motivation to expand it past UIComponents. So for my purposes it wont do.Again, what do you do for setting up these systems?PDATE: I had to compromise, but it actually worked out pretty well in the end. Instead of destructively laying on permissions (having everything available at first and removing the elements thereafter), the system now works constructively. Here's a sample:

[Bindable]
public var managePage:ManagePage;
[Bindable]

[code].....

View 2 Replies

Flex :: Eclipse Adding Flex Modules

May 25, 2010

Is it possible to add multiple Flex Modules at a time to be built in a project as opposed to adding them one by one, as this is becoming a very tedious task.This is for both Eclipse and Flash Builder 4

View 1 Replies

Adding Flex Components Using Xml?

Jul 28, 2009

I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime.

View 1 Replies

Xml :: Adding Three Or More XMLLISTCollections In Flex?

Apr 20, 2011

I have an XML structure :

<xml>
<a>
<name>A</name>

[Code]....

how to combine these elements into the combXml?

View 1 Replies

Flex :: Adding A Zero To The Hslide Value?

Jan 20, 2012

how to get the hslide value in Flash Builder to have an extra zero if the value is below 10? The problem is that I need to get a two digit value out from the hslide, but if I put in the min/max values 0-23 I will only get one digit if the value is below 10. Example: I want to use the hslide as a time slide. If I choose 4am I need the value to be 04, not 4.

Below is my example code, it is the hslider1.value and hslider2.value that needs to be two digits.

<fx:Script>
<![CDATA[
protected function button1_clickHandler(event:MouseEvent):void
{ navigateToURL(new URLRequest("tel:*23*"+hslider1.value+hslider2.value)) ;

[Code].....

View 2 Replies

Flex :: Adding Components To CoverFlow?

Jun 26, 2009

I'm working with the CoverFlow library by Doug McCune.

In the example included, he has created some panels inside a CoverFlowContainer. There are other examples of him populating the coverflow from an RSS feed on the page linked above but he doesn't include the source for these :(

I will eventually be retrieving data from a web service to add to the coverflow however I'm starting with this simple example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="center" verticalAlign="middle" xmlns:containers="com.dougmccune.containers.*" creationComplete="init()">

[Code]....

I've defined some panels in the mxml and set creationComplete=init() so that the new panel I've created in ActionScript will be added to the CoverFlow container.

When I launch the application it displays the two predefined panels but not the one I have created in ActionScript.

View 2 Replies

Flex :: Advantages To Adding Spring

Aug 28, 2009

What are some of the advantages in adding Spring into a Flex / AIR application? And When would you recommend using Spring?

View 2 Replies

Flex :: Adding A Node To Tree?

Sep 10, 2009

[Bindable]
private var company:XML =
<list>

[Code]....

The Particular code adds a new node to the operations, but i want to add a node any item i select.

View 2 Replies

Adding Newer Flex SDK To Builder 3?

Dec 30, 2009

I have a Flex Builder 3.0.2. It was shipped with Flex SDK 2.0.1 and 3.2. I would like to add the new Flex SDK 3.5. I followed the documentation:

[Code]...

But it's just not working. There are many functions from the documentation I can't use still (but should be available with SDK 3.5). How can I use SDK 3.5?

View 1 Replies

Flex :: Adding 1 Day To A Specific Date?

Mar 26, 2010

how can i set a date adding 1 day in flex??

View 5 Replies

Flex :: Adding Sprites To Canvas?

Apr 30, 2011

First off I have this MXML:

<mx:Panel x="270" y="10" width="690" height="680" id="mainContainerPanel">
<mx:Canvas x="270" y="10" width="670" height="640" id="canvas" initialize="onInit()">

[Code]....

The circCentre Sprite never appears on screen and I don't understand how I can get it to appear.

View 1 Replies

Flex :: Adding A BitmapImage To A Canvas?

Sep 4, 2011

I am trying to load a BitmapImage from an embedded source image and add this to a UIComponent. I am attaching the code that I have below. I have not been able to get this to work.

var bitmap:BitmapImage = new BitmapImage();
bitmap.source ="@Embed('sample.jpg')";
var graphic:Graphic = new Graphic();
graphic.addElement(bitmap);
thumbHolder.addChild(graphic);

When I run this I dont get an error, but no image appears in thumbHolder (My UIComponent).

View 1 Replies

Flex :: Adding Item To An Array?

Dec 12, 2010

How do I add an item to a multidimensional array? I want to add the price to item2 but I get "push is not a function"

<fx:Script>
<![CDATA[
[Bindable]

[Code]....

View 1 Replies

Flex :: Adding Two Header Text In DataGrid

Aug 28, 2009

Can i add two header text in Datagrid? My Requirement is to have two Headercolumns in a Datagrid. Is it possible?

View 2 Replies

Flex :: Adding Keyboard Shortcuts To Application

Sep 3, 2009

I have a flex app with lots of custom components, like custom buttons, comboBoxes etc. I am trying to add keyBoard shortcuts to the flex app. In doing so, I added a key-down listener to the app to listen for ctrl+shift key combination like this:
this.stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);

Then I dispatch a custom event that all of my custom components are listening for:
private function reportKeyDown(event:KeyboardEvent):void {
var evtObj:Object = new Object();
evtObj.keyEvent = event;
dispatchEvent(new CustomEvent(CustomEvent.SHORTCUT_KEYS_PRESSED, evtObj, true, false));
}

In my custom button component I have:
this.addEventListener(CustomEvent.SHORTCUT_KEYS_PRESSED, ShortCutKeysHandler, true);
So, if I go ctrl+shift+W then I want one instance of the custom button to get clicked. For some reason, the event never gets triggered and never gets to the ShortCutKeysHandler function.

View 1 Replies

Flex :: Dynamic Adding Data Into List?

Dec 17, 2009

I have an XML file, I read the data and want to add it to a List and then use the List to be displayed.

Something like this is what I want to do:

List data = new ArrayList();
data.add(item1);
data.add(item2);

How can I do this, also how will I display the List in a table!!

View 2 Replies

Flex :: Stop TabNavigator From Adding HASH To URL

Dec 21, 2009

I have a TabNavigator component that keeps added a hash (#) to the URL. I need to prevent this. I have it set to historyManagementEnabled="false" but it is still adding the # to the URL when it initializes. The reason why adding this hash is such a problem is because, I am using .htaccess to give my URL a pretty URL like domain.com/designer/category/product/id when the page is really located at domain.com/product.php?pid=id So in order for my assets to load correctly I had to add a base tag like this:
<base href="[URL]" />
But since I have this base tag set, whenever my flex app adds the # to the URL, the page is now automatically redirected to the homepage. Any way to stop the TabNavigator from adding the # to the URL.

View 2 Replies

Flex :: Adding Selectable Image On Canvas

Dec 24, 2009

I am new to flex, and do not know how to add an image (or other ui component) to canvas, so user can select it (and see that it's selected), also I want to add a possibility for example to click backspace and remove selected image from scene. How to do that?

View 1 Replies

Flex :: Adding Dynamic DisplayObjects To Canvas

Jan 5, 2010

I am adding DisplayObjects to a Canvas using
ContentContainer.addChild(c);
Where ContentContainer is my Canvas object and c is the DisplayObject I have created at run-time. Some of these DisplayObjects also have children of there own which are added at run-time prior to the DisplayObject being added to the Canvas.

I then need to iterate over all the children of ContentContainer but the first time I do this, it says that ContentContainer has no children (i.e., ContentContainer.numChildren = 0). If I do it again tho then it is fine and returns the correct number of children. Is there something I need to call to get ContentContainer to recalculate how many children it has?

View 2 Replies

Flex :: Dynamically Adding Radiobuttongroup In Application

Jan 13, 2010

I'm trying to make a quiz in flex and am loading data from an xml file. For each question I want to create a radiobuttongroup so I can associate radio buttons to it. How can I accomplish that with actionscript? I can see that addChild method works for DisplayObjects and I presume that radiobuttongroup is not one because I'm receiving errors. How can I dynamically add radiobuttongroup with actionscript in flex application?

View 2 Replies







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