ActionScript 3.0 :: Dynamic Charts With Variable Ranges?
May 5, 2011
Basically, I already have access to a tool (not flash, no source code available) that does all these complicated calculations based on dozens of variables and generates 2 charts/graphs based on those calculations. I'm making a "light" version that will only use 2 of those variables and a set of "standard values" that will act as a lead n/conversation starter.So, I have to display 120 different charts/graphs (60 pairs of graphs) that will be calculated by selecting variables from 2 different drop downs (one has 10 selections, the other has 6).Each chart is made up of 15 different data points that will be displayed on the chart with lines connecting them, so a total of 30 data points for each "set" of variables.
Here are my options:1) plug the numbers into the tool and grab a screenshot of the charts. Since the charts are ugly, I would have to physically re-draw each of the 120 charts to look the way it needs to in order to match the rest of the application2)...and this seems like the right way to go if I can figure it out...I can export the data points from the tool as xml, I use that to build arrays within flash and then dynamically plot the points and draw the lines. The only problem I'm facing conceptually is that the range on the y axis will change so I'll need to dynamically create the horizontal range line indicators, populate the range fields based on that range and keep everything constrained within the vertical limits of the chart.
I am developing a tool to create dynamic hierarchical charts. I am able to create object i.e circles and link it dynamically. I want to set properties for those objects.
Does anyone know of a good charting/graphing tool that supports dynamic pie charts, i.e.where a user could change the values by dragging, etc? It would need an event API so I could get access to the changed values.
how do i pass upperLimit="", dial value="" and maxValue="" values in colorRange dynamically from the flex side. i need these 3 values to plot on the angle gauge fusion chart
I am trying to use AlivePDF to save a chart into a .pdf file. However, when I try to save my chart, it ends up clipping half of the chart in the pdf so it isn't even fully visible. It seems that the screencapture that AlivePDF took to generate my pdf was too small.I am trying to get a chart from a sample to work with sample code for using alivepdf that I picked off the web.[code]
and i want to show these values on the Yaxis and months on Xaxis....
I have two Qns,
1) how can I pass this array to Bar chart or column chart.
2) how do I need to show months on Xaxis. beacuse I'm asking this regarding, I have kept a filters that even if we want to see some months or a particular months or perticalar span of months... there on Xaxis it need to change the months dynamically depending on the filters..... (for ex, on Xaxis the values should be (Jan, Apr, Jun,Oct) if i select the 3 months period filter....)
I have written a logic to collect the values of those particular months into an array, but not understading how to pass this array to Bar chart,, beacuse there I don't know what Xfield and Yfield to be given....
In other programming languages that use switch/case, I was often able to set a range. In the documentation (flash help) they do not show the syntax for this. Is it possible to do so, such as:
I want to highlight different RANGES of text with different styles. (for instance, make character 1-10 bold, 15-18 italic, etc..)
TextRange looks like the appropriate tool, but when I loop through, and create multiple TextRanges for each area/style, the resulting display only appears to show the last one.
Code: for (var counter:Number=0; counter < testVtt.markUps.length; counter++) { var m:MarkUp=testVtt.markUps[counter];
I think I understand how to use switch/case conditions in Actionscript for concrete values. Can the same be done with ranges? - case > 5 - or something like that? Perhaps even - case > 5 < 10 - ?
I have a slider where I check the current value to see if it's within various number ranges. I'm basically running the same comparison over and over for 14 range sets. Is there a way to not have to hard code each one?The snippet below is hard coded 14 times with incrementing boxes[x] values. boxes[x] is a predefined array:
I think I understand how to use switch/case conditions in Actionscript for concrete valuesCan the same be done with ranges? - case > 5 - or something like that?
What is the best way to turn turn off (using PixelBender) colors that fall within a certain range. For example, turn off all colors between 0x0000FF and 0x00FFFF. This has to work in Flash.
I'm trying to gather a Unicode list of all the 'o' like shapes in the Hindi character-set. In fact, a list of any characters (in any language) that makes uses of separate characters to indicate an accent would be better.I intend to use this unicode-list in a RegExp.I been trying to edit a list of character-ranges by outputting them in an Input TextField, but editing this text causes weird issues (the keyboard-cursor isn't place on the correct character, selections suddenly dissappear / incorrectly warps... in other words... HINDI HELL!)
I've tried this with Notepad++ too, but although it was more responsive, it eventually crapped out on me like it did in the Flash Player textfield. This seems to occur especially while removing the [] block (nulls?) characters. Some of them trigger odd behaviors.
How to accomplish making the knob pan center at 60 for 60 Hz and only go left and right between the ranges of 59.95 to 60.05 in increments of 0.05? I am illustrating synchronizing between two power systems. I got the scope and and voltage wave forms down but making the knobs work the way we need is driving me nuts.
What is the best way to hide specific (interpolated) color ranges? For example, I have a gradient that goes from blue > cyan > yellow > red. What I need is to hide blue > cyan, yellow > red but leave the cyan > yellow.
var rangeA:Object = {min:0x0000FF, max:0x00FFFF} //hide var rangeB:Object = {min:0x00FFFF, max:0xFFFF00}; //show var rangeC:Object = {min:0xFFFF00, max:0xFF0000}; //hide
It is ok to apply different filter for each range.
I am downloading large files in the browser using a swf coded in as3 that makes byte range http requests (using http:url....).This lets me download the files in chunks.Is it possible to manually cache the file byte ranges to the browser cache so that I can prevent wasting bandwidth if the client has already downloaded a portion of the file on the next visit? This would essentially be a "resume download" feature.
From what I can find on adobe livedocs, flash player will not allow this because of security issues. I just wanted to double check and see if anyone knew a way to do this
how i display the coordinates of a random triangle in a graph which ranges from -10 to +10 in XY axis with the points like A(2,1) etc with arcs in each corner, in actionscript 2.0
can't figure out why the dynamic text boxes in my dynamic clip arent picking up the variable when I loop through this recordset!the trace (you'll see here right after I try two ways to assign the variable) traces the correct info back..
I'm trying to make something that will show up in a dynac text field something like this:"[variable1] text text text [varibale2] text text text"I've linked the dynamic text field to a variable "resu" and set it to:var resu = variable1 + "text text text text" + variable2 + "text text text"The only problem is that when I make the variables random, they don't change
I was wondering anyone had suggestions for ways to chart data easily from a mysql database. I am working on a website composed totally in Flash.For example: a football database, a user may enter a players name and then a graph shows the goals scored over time.I have looked into google charts, fusion charts and opencharts and they seem to be ok if you are making a html page and will create graphs for you..
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.
Adobe states that Charts are supported in mobile projects but when I try to change the following working files (created project with File - New - Flex Mobile Project - Google Nexus One):
I have a requirement to come up with a time line chart and a few more controls on a single page[with rich ui]. I have short listed Flex, JSF[apache trinidad], html5, gwt these technologies. None of them provide timeline charts on their own. I am looking at other options such as using third party libraries. The chart should have drill down capabilities as well. Let me know if there is any specific technology that I should try.