Flex :: Programmatically Display A DataTip In Chart (without Hovering With The Mouse)?

Jun 15, 2010

I would like to show a dataTip on a flex chart by setting the selectedIndex property of the AreaSeries. For instance, if selectedIndex = 2, then a dataTip appears over the third item in the series. Is this possible in Flex 3.5? .

View 1 Replies


Similar Posts:


Css :: Setting Different Chart DataTip Styles In Flex Components

Nov 1, 2011

I have a following issue:My task is to style a datatip for two charts in Flex 4.5.Both charts reside in two different <Group> based components which are added to the <Application>

So after a thorough research here is what I tried to do.First applying a css descending selectors:

#container#chart1 chartClasses|DataTip{
backgroundColor:white;
backgroundAlpha:0.01;

[Code]....


Then I would like to be able to get access to the instance of the CustomDataTip class.But I can't .So currently the only thing I can do is to create a distinct custom datatip renderer class for each chart.That could be fine if you have only a couple of charts you want to style but what can we do if we have many of them?

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 :: Charting Only Display Datatip For Specific Series?

May 19, 2009

I have a LineChart that contains multiple series, both LineSeries and PlotSeries, and I have a custom dataTipFunction set for the chart. However, I only want data tips displayed for line series, not the plot series. I have tried returning null from my format function, but that just displays an empty box. I have also tried disable mouse events on the plot series (by setting both mouseEnabled and mouseFocusEnabled to false), to no avail. Is this even possible?

View 1 Replies

ActionScript 2.0 :: Create An Animated Bar Chart Or Line Chart Type Of Component In Flash Programmatically?

Sep 14, 2009

How can I Create an animated Bar Chart or Line Chart type of component in flash programmatically, which should depends upon an incoming XML data, the chart should have the basic criteria like, Chart Label, Item Tooltips, background grids (without using any image). There also needs an ability to change the data which should reflect the chart as well.

View 1 Replies

Flex :: Programmatically Show Tooltip Chart?

Aug 18, 2010

I have a chart with 2 line series in it.So, "Jan" (x-axis point) will have 2 Y-axis pointsThe problem :Is there anyway to force flex to show tooltip on both series simultaneously?

View 1 Replies

Data - Flex Chart Display With No Datapoint?

Jun 8, 2010

I need to display price of item for every date in the month. The chart can be Bar chart or plot chart.

Question: Suppose there is no data available for 01/15/2010 then, Is there a way to display (01/15/2010) on x axis but no (bar or plot point) corresponding y axis point ?

i.e. there will be a empty space between 2 bars or plot points.

Currently i am using 0 , But 0 is a valid value.

Let me know if such a display is possible.

View 2 Replies

Xml :: Flex - Retrieving Sub-XML Elements To Display A Pie Chart?

Feb 9, 2011

I have designed an application that will load the information from an XML File to a Pie Chart.

First my XML looked like this

[Code]...

Now this works perfectly and I can see the generated Pie Chart.But now let's say that I changed the XML in the following manner.

[Code]...

in the results event how do I access it? bookStock = evt.result.books.stock.bookinfo; doesn't work. I get a "Error: Unknown Property: 'bookinfo'." When I analysed the bookStock object I get this. How do I access the XML element now? Does anything needs to be changed here?

[Code]...

View 2 Replies

Flex :: Display My Column Chart In Dashed Manner

Sep 7, 2010

I have got a new requirement in which i have to display my Column Chart in dashed manner.

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

ActionScript 3.0 :: Mouse Hovering - When The User Moves Mouse Down, More Text Appears From The Bottom And When Moves It Goes Back To The Original Position?

Apr 21, 2010

I have MC masked with TEXT,when the user moves his mouse down more text appears from the bottom and when he moves it goes bakc to the original position...I do not want the mouse wheel .. I woudl like to do it by mouse hovering...

View 5 Replies

Flex :: Get The The Class Of Datatip?

Feb 9, 2012

there is a question:

public var panelProcess:VBox;
panelProcess = new VBox();
panelProcess.addChild(sf);

[code]......

View 1 Replies

Flex :: Prevent A Default Chart Item Roll Over Highlight In A Spark Column Chart?

Mar 3, 2011

I'm trying to prevent a default chart item roll over highlight in a Spark column chart.If you look at any of the chart examples on this page , when you roll over any of the chart series items, they turn a darkened shade of their original colour. This is what I want to prevent.

So far I have had no luck with using the itemRollOverColor property, as this only allows you to set it to one specific colour for the whole chart (my app has several different coloured series on the chart at once). Also, trying to leverage the itemRollOver event (with preventDefault() etc) hasn't worked either.

View 1 Replies

Flex :: Make Chart Which Is Combination Of Bar And Line Chart Using Charting API

Jan 10, 2011

I'm trying to make chart which is combination of bar and line chart using Flex Charting API . Here x axis would be common and y axis would be different. note that y axis got different range of value one is % and other is amount. Any one got idea how to make this chart. Here line chart would be staked on top of bar chart . The line chart and never over laid or drawn on top of bar chart.

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 - Custom Itemrender In Datagrid With Datatip?

Aug 26, 2009

I have a datagrid with one datagridcolumn in it. Without a custom itemrenderer I can use a datatipfunction for showing a custom datatip but now I want to have a custom item render for colouring the rows differently.Therefore I extended a label and changed the data method but now my datatipfunction does not work anymore.

View 3 Replies

Flex :: Skinning The Datatip Of A Hslider Component?

Sep 1, 2010

how to skin the datatip of a hslider component.

I have created a 3 skins with degrafa. One for the track, one for thumb and one for the datatip. I had no problem attaching the skins for the track and thumb of the hslider component. But how can i skin the datatip?

View 1 Replies

Flex :: Show DataTip For SLider Control?

Jan 6, 2011

Is there any way to always show DataTip for SLider control in Flex 3.5?

View 2 Replies

Flash :: Custom Flex Charting Datatip

Apr 15, 2011

I want to emulate the datatip feature on google finance here URL...whereas the datatip does not appear over the chart when you hover over, but instead is anchored in the top right header of the chart. How do I go about doing this? Thx in advance!

View 1 Replies

Actionscript 3 :: Formatting The Datatip Numbers From A Flex Barchart?

Jan 8, 2010

I simply don't know how to do this. This is the code I have.

public function doFormatMoneda(valor:Number):String{
var formatoMoneda:CurrencyFormatter = new CurrencyFormatter();
formatoMoneda.precision = "2";

[code]....

View 9 Replies

ActionScript 3.0 :: Peel Button Animation - Hovering Above The Background When The Mouse Is Finally Over The Button?

Jun 22, 2009

So I had an interesting request from a client the other day. Basically, he wanted the button (which looks like a sticker) to peel off as the mouse approaches the button. So from the outside of the hover point, it would peel a little. As the mouse gets closer, the peel animation would peel more (or less, depending on the mouse position) until it is 'peeld' off the page and sort of hovering above the background when the mouse is finally over the button.

Does anyone know of some custom classes that might achieve this? It seems like it would be making use of the new 3D in flash10, but I haven't had much time to experiment with 3D in flash.

View 0 Replies

ActionScript 3.0 :: Flex Hand Cursor When Hovering Over Button?

Apr 12, 2009

How do you use CSS to show the hand cursor when hovering over a button component in Flex? I am aware I can do useHandCursor="true", but I wanted a CSS solution so I don't have to copy and paste this a million times.

View 5 Replies

Flex :: Flash - Use Image As The Selection And Hovering Background In DataGrid?

Dec 13, 2010

I want to display an image instead of Color in item Selection and Hovering(mouse over) in Flex DataGrid. how i can do it ?

View 2 Replies

Flex :: Display Red Popup By Default Without Mouse Over It?

Jun 3, 2009

In flex, when I put the mouse over a field that is not valid, a red popup appears which indicate the error message. By default, it's rounded by red.

Is it possible to display the red popup by default without mouse over it? because sometimes the red box is not clear enough and we have impression that the program is stuk

View 1 Replies

ActionScript 3.0 :: Develop Chart In Flash (eg. Bar Chart, Pie Chart)?

Mar 2, 2011

Is it possible to develop chart in flash (eg. bar chart, pie chart)?

View 1 Replies

Flex :: Rotate / Scale Display Object With Mouse

Aug 5, 2010

I am basically trying to create a display object transformation manager which will allow me to scale/rotate objects. I am currently trying to figure out how to rotate an object so its corner follows the current x and y of the mouse. I always get confused on the math of things like this. I know how to listen for the events and everything, I just am unsure of how to calculate the amount of rotation to apply. I will probably be rotating via a Matrix so I can rotate the object around its center, rather than the upper-left corner of it. My question here is: how do I get values when I don't want them constrained, like scaleX and scaleY?

View 1 Replies

Flex :: Display A Tooltip Only If The Mouse Cursor Is Within Certain Coordinates?

Feb 24, 2011

Within my component, I'm drawing some rectangles as below:

[Code]...

I need to display a custom tooltip for each rectange when the mouse cursor is hovering over it.

How can I do this? I'm using the MouseMove event to track when the cursor moves over these coordinates (that part is working), but when I change the tooltip text it's not refreshing

private function this_MOUSE_MOVE(event:MouseEvent):void

[code]...

EDIT: The problem seems to be with the following line:

ToolTipManager.destroyToolTip(_myToolTip);


If I comment out the preceding line, it will display the new tooltip, but it will keep creating new ones and the old ones never get removed. But if I add that line, it doesn't add any tooltips! Is the code not being executed sequentially, i.e., is the code to remove the tooltip somehow getting executed after the code to add the tooltip?

View 1 Replies

Actionscript 3 :: Flex - Display A Panel At The Point Where Mouse Is Clicked?

Nov 1, 2010

I would like to create a component(extending from spark Panel), which upon a buttonclick should show up next to the button(something like a bubble popping up or like the small box opening up when hovering up on profile links in facebook/twitter). I tried to create a component that implements mx.core.IToolTip and provided the methods required by the interface. And on the toolTipCreate event, set this component as the tooltip.

This works to an extent. When I bring the mouse over the button, the panel appears as the tooltip and goes away when i move the mouse away. What I need is, the panel should appear next to the button when click on it and should go away only when I click outside the panel or click the close button present inside the panel.

View 1 Replies

Flex :: Make Data Tip Appear When Mouse Hovers The Chart, Not Only When Hovers Data Points?

Aug 24, 2011

I want a data tip to appear when mouse pointer is over any point of the chart, not only when pointer is directly over a data point.

View 1 Replies

Actionscript 3 :: Handle Mouse Events On Occluded (overlapped) Display Objects In Flash/flex?

Sep 3, 2011

I want to handle the mouseevents for all the sprites on the stage including the one those are hidden behind (or overlapped or occluded) and the main condition is that I want to handle the occluded sprite (that hidden behind other sprite). example, say I have sprite1 and sprite2 on stage and I want to start drag whenever i click on the sprite and stop drag after another click.

This can be done easily, but the problem and my main requirement is that if I drag the sprite1 and drop it exactly on top of the sprite2 then sprite2 will be hidden behind the sprite1 I wont be able to drag the sprite2 without moving the sprite1 first. if you have played zynga's empires and allais game on facebook, it is handled seperatly, it is how it works in that game, the mouse event is triggered on the sprite behind the overlapping sprite, if you have two sprites overlapping one sprite than the mouse event is triggered on the sprite which is last and not the one in front irrespective of whether there is only one sprite overlapping or two or three and this happens to irregular shaped sprites (not just rectangles)

View 1 Replies







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