Actionscript 3 :: How To Draw Charts / Graphs In Flex 3
Feb 17, 2012
I am using flex builder 3 with SDK 3.5. I make a AIR application and I want to Draw some graphs on it. I search the internet and the examples did not work. Am I missing something or I have to install some chart relating packages? I am new to Flex.
I have this flash player we use to create some graphs and charts of our business performance. We use flash because we like those neat-o graphics and overall User experience.
The thing is that now I need to generate snapshots (i.e. images) of those charts every Monday so I can save them to disk.
Our flash player takes arguments at startup (or runtime) that specify the data we want to load and the date range, and we have LOTS of charts around.
I would like to know if there is any way to create these images in a batch, window-less process in linux. My goal would be to have a script that runs at 2am, automatically loads all the graphs say for the latest week, and creating PNG images for each. All this in one of our window-less (but with X11 libraries) linux boxes.
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]
Does anyone know of software or flex/flash/as3 source or visualisation software that could be used to make interactive graphs, where the user would enter a query that would pull data from a MySQL database and the user would build a sunburst or icicle graph by dragging and dropping items into a tree-like structure and they would be able to view the graph? i have attempted to use flare but my programming skills are pretty bad. So far from what i gather, flare only allows the graphing of defined datasets rather than allowing a user to modify the dataset and thus creating a new dataset.
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....
Is there any opensourse, free set of components for creating Flex mxml graphs? like aviary Peacock style ones with at least Drag, drop, and connect generators so each graph element could have or something like that. Framework should be opensource (like GPL, LGPL etc) BTW: I found one wary bacic made by Erno Aapa with Degrafa but I would really love to see something much more Flex 4 - mxml oriented and frienfdly.
I want to give a good look and feel to the flex line charts. How to show it more attractive. I have done everything, now i want to show it more attractive/rich look and feel. can you guys provide me any samples.
I'm creating a small size Flex movies which contains two line charts, at the moment the size of the release build swf is 343KB, which is too large for our needs.
I've tried changing the loading of the SWC file to Runtime Shared Libraries, but I found that this removed the text of the charts (the text for the x and y axis). Why would the text be removed when the Framework linkage is set as a Runtime shared library?
I am trying to place an image besides the label in y-axis. So I have created a custom label renderer(A HBox containing and ). The source for the image has to be set based on a property present in the data provider. The problem is, I am not able to access the BarSeriesItem in the fnSetSource() method.
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.
Using the Flex ant task to build our application results in the "Flex Data Visualization Trial" watermark being displayed in our charts. We have professional licenses for flex builder but do not know how to tell the ant task about these.
I have Flex Builder Professional Ver 3 (Built with Eclipse) version.
I need to build an application with charts. The problem is that there are no charting components to be seen. There is no datavisualization.swc file in the libs folder.
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.
If you see google finance or other such charts, they usually have a small pentagon on the chart that indicates when the dividend was paid. Note the D markers in the screenshot [URL]. In this link you will see A,B,C,D .... along the charts X-Axis. If you choose a larger data range say 2005- 2010 , then you will see blue dividend markers along the x-Axis. Is there any thing in Flex that will allow us to do that?
I have a Flex LineChart which contains three series:
two LineSeries one ColumnSet
Has anyone seen or heard of a way to set the dataTipRenderer on a per-series basis? You can only override it for the entire chart and I would prefer to not have to overlay multiple charts just to achieve this effect.
I'm looking to display some data in the form of charts (line graphs, pie charts etc). I also require them to have a certain amount of interactivity (pan, zoom etc.).
For these requirements, will Adobe Flex be enough for me, or would I need to use flash?
A little research told me that building charts in Flex is easy, but can they be made interactive without using Flash?
I have a chart that uses a DateTimeAxis for the x-axis and a renderer defined for it. I also have a function defined for the label on the axis but I am not able to get the labels to show.
Trying to print out a static time to test working.
private function timeAxisLabelFunction(obj1:Object, obj2:Object, axis:IAxis):String { return "9:30AM"; }
[Code]....
Apparently, the font family I was using doesnt support a font style that is used in the renderer. Not sure what style attribute it is yet.
I have a line chart that is updated every so and so seconds, similar to the one you see in Windows' Task Manager. The chart goes right-to-left, with the most recent data on the right, and going leftwards. How would I invert the values of the X axis so that the lowest value is on the right and the highest on the left? It's a LinearAxis.I tried making it a CategoryAxis and putting the numbers in manually, but that doesn't work the way it should (the labels are not aligned with the ticks).
I am encountering this problem when trying to upgrade a legacy project from Flex SDK 3.3 to Flex SDK 3.6The error gets thrown at runtime only, at compile time there is no issue.My hunch is that it has something to do with DataVisualization components.Though all datavisualization swc's are in place, I am still getting this error.Even did a fresh download of the 3.6 SDK, overlayed the 3.6 DataVisualization swc's, still the same thing.Using Flash Builder 4.6 Premium