Actionscript :: Show All Datatips For A Single Lineseries?
Mar 24, 2010
show all datatips for a single lineseries in a Flex 3 linechart. This chart will have multiple lines and the functionality we're looking for is when a user hovers over a line, show all datatips associated with just that series.
showAllDataTips will not work in this case as it will display all datatips on the chart.
I have a line chart with a column chart as a secondary series. When I roll over the line, the datatips appear. However, if I move the mouse to a spot where a column appears while still on the line, the data tip item appears for the line AND the column. How do I get it so that I only show datatips for the line but not the column?
when I try to play my slideshow I click play and it goes so fast you don't see a single pictue then it goes back to the first one?? I don't know how to really fix this? This is all the code it.
I have 3D videos encoded with each eye's content side-by-side on each frame. What I want to do is take the left-half and over-lay it on the right-half. (I'll then change with the colors and the overlaying so that someone with blue-cyan 3D glasses can view the video).
I tried to attach a single NetStream to two video objects and offset them, but that only let the stream play on one object.
I am working on a model of the heart and have written Tween(s) that show a single contraction - relaxation of the auricles and ventricles. I would like to have this morphing action repeat upon clicking on a button and stop on clicking on the button again. It would also be great if the repeat frequency (fps), heart rate could be varied. I suspect something like this has been done before, not necessarily the heart, maybe like a squirrel running in a cage with variable speed.
DataTips in flex charting are a poorly documented and little-understood feature.There are three parts, the DataTip (by default a box with text inside), the DataTipTarget (default bulls-eye circle over the series' point), and the Callout (the line from dataTipTarget to DataTip box).How are these three elements created/drawn and how can they be customized?
I assume I need to override the mouse over and mouse off event so that they don't do anything and then trigger the mouse over event for each column on the graph.
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.
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.
I wrote a function to override y FLEX LineChart's datatips because the default datatips were ugly and rather boring.I finally set the style I wanted but am now having some problems removing un-necessary tags from being displayed in the custom datatips.For example, the datatips now display things like this:
"<b>Humidity</b></BR>2010-07-05T00:15:00"
I can always perform a "Replace()" to remove those break and bold HTML tags, but that seems really un-necessary and anti-development.I am using this to set the dataTip's label text:
var hd:HitData = value as HitData; var item:LineSeriesItem = hd.chartItem as LineSeriesItem; _xAxisText = String(hd.displayText + ' ' + item.xValue);
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]
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.
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.
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:
^ 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.
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 ?
Flex charts, like AreaChart, have wonderful built-in support for displaying data "tool tips" when a user hovers over a point supplied in the data of a graph. You can hover over any of the bar graph examples on this page for a demonstration. I have a graph situation where I optionally draw in some dots as reference points on CartesianDataCanvases supplied to my AreaChart through it's <mx:annotationElements> and <mx:backgroundElements> tags.
I would like to have the same hover data-tip functionality that the AreaChart has, but applied to these dots. I realize that I am just drawing on canvas, and that no actual dataProvider supports these dots, but if there was a way to supply the CartesianDataCanvas with an array of data values or something to that effect,
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?
In my flex datagird i have a checkbox and a datgrid with seven columns. im populating values in first five column(remaining two column no values) of datgrid by an Arraycollection. now,By clicking the checkbox i want to show all seven column values and if i uncheck five columns has to show... how its possible?? heres my code
I'm fairly new to ActionScript and was wondering if anyone had an idea how this effect was done:[URL]..Click on a show date and the link zooms up and fills the screen giving show info. Then when you click the back button it shrinks back to where it was on the calendar.
In my asp.net application,I want to show the .ppt file using the slide show manner.
That's to say,user can upload .ppt file to my server side,then other people can browser these ppts in the page ..
Since I have googled "embed powerpoint in web page" ,it seems that there is not a good idea to implement this and support the cross browser,so I thought the flash.
This is a slide show using the flash: [URL]
What I want is show the contents of the .ppt in this manner(it would be better if it support the animations in the ppt)?
I have one MC that he has an gray color, when I compel it, it is gray, everything is fine so far. I had to create one param in the HTML pra to be able to change at any time of the MC color ex:"meuFlash.swf?&cf1=ff3300>...", any time that I change this MC color , my MC change too. I create this. [AS]new Color (fundo_mc.fundos_mc).setRGB (parseInt (cf1, 16));[/AS] My problem is the following one, when I speak in the HTML that I do not want to use this color "ff3300", I only want to use "meuFlash.swf?...", mine MC are all black, it are not of the gray color that I already had left, I do not know because it is all black.
I'm using CS3 and want to know if it's possible to give more than 1 instance name to a single MC using AS2? The reason I ask is I have a bunch of templates that I want to load (one at a time) into a master swf that will be used for scaling & positioning of movie clips (which data will be saved to an XML file) in all the loaded swf files. I would like to have some code in the loaded clips that the master swf could use for controlling it's movie clips. This code would reassign the clips a second name so the master swf recognizes the clips in the loaded swfs and is able to manipulate them.
The problem now is I have a lot of template swf files with all different named movie clips and changing all of there instance names one by one will take a long time.I imagine that unless the clips were allowed 2 different names and were just assigned a new one, that it would stop any preexisting code from working correctly.