ActionScript 3.0 :: Pie Chart Not Loading?
Aug 25, 2010I have a class file of LoadXML its not working
[Code]...
I have a class file of LoadXML its not working
[Code]...
Is it possible to develop chart in flash (eg. bar chart, pie chart)?
View 1 RepliesI'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.
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 RepliesI'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 RepliesI want to create a Flashmenu that looks like a Pie Chart. The Menu will have 6 pieces. If the mouse rolls over one of them, this piece should expand to the whole size of the circle, but with easing. I dont know how to start Problems i see: Layering of the different pieces (how can I achieve that the piece with the "mouseover" is always in front of the others)
nice animation of the piece (it should grow clockwise, but with easing) asking (each piece will be an image, the pieces just show a portion of the image, on roll over, the whole image should be viewable)
Im creating an interactive org chart. I want to use external xml text for just the names, titles and there will be a alt tag type pop up with a few bullet points.
[Code]...
I am trying to create 3d pie chart in AS2.
View 1 RepliesI want a bubble chart that just shows items along a straight line. So I'd like the horizontal axis to essentially not exist. I have it working right now with the yField assigned to a field that happens to always be '1' on my test dataset.. but this is not going to be the case in general, so I need some way to restrict the y-axis... preferably without needing to go back to my model and parse through all my data to add a dummy value '1' on each entry.
Unfortunately setting min/max values just cuts off anything above or below rather than restricting entries.
I set computedMin and Maximum (no idea what they are and the docs don't really explain) but it didn't seem to restrict the data in any way.
In Flex how can I set a custom name (string) for the X axis and Y axis titles of a chart?
(Horizontal Axis and Vertical Axis)
I can assign my charts backgroundelements property with a custom class I developed called RangeSelector in mxml like so:
<mx:LineChart id="chart" width="100%" dataProvider="{dataSet}" height="100%" mouseMove="updateDetails(event)">
<mx:series>
I have created 2D Pie Chart, i want to add animation into it. and have a drop shadow so it will look like 3d. Can anyone help how to do that,
ActionScript Code:
import flash.filters.BitmapFilter;
import flash.filters.BitmapFilterQuality;
import flash.filters.DropShadowFilter;
[code]....
How to do flash chart using actionscript 3?
View 1 RepliesI'm having trouble researching how to create a line chart in Flash that pulls data from an external XML file. I want to display this chart on my website for others to see. Anyone familiar with creating line charts via flash and xml? I did find a few websites that talk about it but not for flash purposes
View 1 RepliesI have been looking for a simple way to chart some data dynamically but to no avail. I have been using LineChart from Astra but I cannot change its data dynamically.
I think this very crude example should work, but it doesn't:
Code:
// The flash simply consists of a LineChart called "chart" ...
import com.yahoo.astra.fl.charts.*;
import com.yahoo.astra.fl.charts.series.LineSeries;
[Code]....
I am trying to create an interactive org chart for a customer. When you click on a box, I need it expand as a drop-down, but I would like create it such that if the user clciks on another box, the previous box animates back to the closed position before the new one opens.
View 2 RepliesHow can I create a simple chart in Flash CS4?
View 1 RepliesI've been working for several months on a project that generates dynamic data charts. Suddenly the project had a problem-- the charts will not draw properly on screen. The only way to make the colums of the chart appear is to move the mouse into the area where the charts should exist: As I move the mouse accross the area, the chart columns appear as if by magic! However, if I move a scroll bar which controls the display area, the chart columns disappear again. I've tried this on 2 different computers and gone back and tested it on several earlier versions of the project, and they all fail At this point, the only factor that I have not tried to control for is the Flash Player which I recently updated.
View 7 RepliesI would like to be able to specify the placement of a legend for a linechart. Currently, it continues to appear to the right of the chart. I have tried playing with the width/height of the chart to no avail... Putting the legend before the linechart in the mxml causes it to appear to the left. I can't seem to get it appear at the bottom though. I can't seem to find any good examples for this. They don't seem to specify anything but the legend usually shows up below the chart, I can't seem to do it.
View 1 RepliesI'm using a lineseries chart, but it gets fairly slow to re-render when I add a new point when the total # of points is ~1200 points. Granted, this is running on a fairly slow PC (~600 MHz). Reading the Flex documentation on how to speed up rendering (turning off dropshadows, turning off filterData, etc...) doesnt seem to help. I bound my chart to an ArrayCollection (rather than the array I used before which I manually updated) and it doesnt seem to be any faster. Adobe's documentation seems to have me believe that the Chart looks only at what changed since the last time it was updated, but i'm only adding one point!
If their info is correct, why does it take significantly longer (5 seconds) to update one point when I have ~1200 points then when I only have 2 points (instantaneous)? FYI - When I add a new point to my ArrayCollection, I have to do a "AC.refresh()" to get the DataBinding to pick up the new data.
How to add a watermark to a charting component in flex? Maybe to a Line Chart or just simple to a canvas.
View 2 Replieshow to create organisation chart in flex using xml
View 2 RepliesI have created a Bar chart(having total 4 bars), wherein there is a gap between these bars. how to remove this gap between the bars as there is no inbuild property available...
View 1 RepliesWhen I customized the ColumnChart in Flex by overrided updateDisplayList function, colors in legend no longer display. As you will see in the below picture:url...
View 2 RepliesI really like the dashboard line chart which is used in google analytic, Which charting solution they use, is it made by google, I can't find it in google charts.
View 4 RepliesI am trying to create a bar char in action 3 script. But for some reason I am getting 2 y-axis and no x axis.
Can some one help spot the error. I have said "placement " bottom. The chart creation method is "getBarChartData", this method when invoked creates a barchart and adds it to a canvas. This section is visible completely and can be called on a button click.
[Code]...
In flex, how to add a label on a chart? I need to display some thing on the chart.
View 1 RepliesIs there any way to force Flex to draw empty PieChart when all data in the PieSeries equals 0. The result I'm getting now is just a blank space in the place where my chart is supposed to be.
View 1 RepliesXML Data to plot:
<?xml version="1.0" encoding="utf-8" ?>
<spearkerslist>
<speakers langid="afb" countryid="SA" countryalpha3id="SAU">200000</speakers>
<speakers langid="acw" countryid="SA" countryalpha3id="SAU">6000000</speakers>
[code]....
The above data I need to plot to a Bar chart, which I tried with code below and not working
I need to plot "Langid" on y-axis and bar length based on the value in speakers tag.
<mx:Script>
<![CDATA[
private var languagelist:XML = new XML(); //Variable where the XML is stored.
]]>
[code]....
Is anyone know how to adding fixed gridlines chart in flex, for example: I have a vertical axis which has a minimum value 0 and the maximum value 100 but I only want to display gridlines on values 30 and 70.
View 1 Replies