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
Similar Posts:
Aug 18, 2011
I want to display the same data in a chart and a data grid. I want to use the same data provider for both of them to reduce the amount of SQL queries.How do I transform the database structure into the chart structure and into the table structure using ActionScript?*
Database structure in JSON format:
[
{key:, year:, value:},
{key:, year:, value:}
]
Data provider structure required by a chart:
[
{series1:, series2:, year:},
{series1:, series2:, year:}
]
Data provider structure required by data grid:
[
{key:, year2000:, year2001:, ...},
{key:, year2000:, year2001:, ...}
]
View 1 Replies
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
Sep 7, 2010
I have got a new requirement in which i have to display my Column Chart in dashed manner.
View 1 Replies
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
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
Aug 5, 2010
Is 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 Replies
Jan 13, 2012
My group is working on a Flex/AS3 scientific web application that is data intensive. Luckily the only plots involved are line charts. However, each line chart may have multiple traces (up to 24), and each trace may contain up to 2000 points. The user will need to zoom in and out and interact with the data (e.g. data tips, etc.).
The response I'm getting from developers is that's a lot of data to render in a plot in Flash. For reasons beyond the scope of this post, we can't sample the data to reduce the size (this has already been done and nature of the data prevents further sampling).
Rendering speed is critical for this app. What kind of rendering speed should I expect the Flex 4 line chart component to provide for a given number of points (e.g. 1 second to render 1000 points?)
Are there products available that handle plotting large data sets better, which can be incorporated in Flex (I've seen FusionCharts and ZingCharts online but have no idea how they compare with Flex's components)? Of those, which are easy to develop with while still providing a lot of flexibility in look and feel?
View 1 Replies
Jan 6, 2010
I have something like this xml data
<data>
<result month="Jan-04">
<employee id="1">
[code].....
View 1 Replies
Jan 6, 2010
In Flex, how do I create a summary(say total of various domains) from the data provider and display in chart? Say this is my dataprovider.. I want to display the total estimate of each territory as a slice in piechart
private var dpFlat:ArrayCollection = new ArrayCollection([
{Region:"Southwest", Territory:"Arizona",
Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000}, [code].....
View 1 Replies
Feb 10, 2010
I am wondering how will I proceed with the following requirement. I need to create a line chart of business data of the last 8 quarters. It is easy, but the requirement is that, there should not be a connection between last year's Q4 and this years Q1. In effect, using the same array collection i need to split the line chart so that it looks like two different lines on the same chart. How to proceed with it.
View 1 Replies
Dec 6, 2010
I have a Flex line chart where I allow the user to change the y axis ranges. When a data point falls outside the ranges, the chart drops the line segments on either side of the out of range point leaving a gap in the data line. I'm currently using the data function to clamp the values out of range to the y axis min/max, but this displays misleading data.
View 1 Replies
Feb 28, 2012
is it possible to create an item renderer for the data labels of a Flex Pie Chart?i know it is possible to change the formatting of the String using the label function. But i need more control of the way the data label appears.The background of the label needs to be a a specific color based on the data.
View 1 Replies
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
Aug 25, 2009
Is there a way to draw a line on a graph (or at least get the position) on specific date?
I have a graph where X is Date data, I want to draw a line with a text on each Year and each 3 months as reference, not part of the graph series.
View 1 Replies
Jun 22, 2010
I have created a line chart and another datagrid.based on dataitem clicked nthe chart should be changed. For example I have datagrid for stocks with 3 stocks GOOGL,Yahoo and ADBE .On clicking upon the GOOGL the google data should be loaded in to line chart.
View 1 Replies
Jul 22, 2010
I have 2 Y-axis on the chart and I am trying to use annotationElement's localToData to get the data points associated with a Point on the chart.
The annotation Element is able to return a set of values for the point ( 1 Y - data, 1 -x data), But it is returning the values against one axis and not the other.
Is there a way to associate the annotation element with a specific axis ?
View 1 Replies
Aug 15, 2011
This is the edit to my question. There is quite a bit of code here, but the problem area is below the second set of three line comments. I stuck the rest in just in case I'm completely wrong about where the problem is. With the "if" statement I can display fine in a run, but not in debug. If I get rid of the conditional it runs fine in debug, but not in a regular run. These errors only occur on the first run of the quiz. In either mode it runs fine fi I take a second quiz.
// ** this function is called from another component that passes in the array of qnums
// ** and then function clears data from previous quizzes. Component starts in the
// ** "loadingState **//
[code].....
View 1 Replies
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
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
May 25, 2011
I want to separate the data from the PHP call to Different CollectionArrays So that I can use the data for a bar-graph;
I created a static version of the bar-graph and separated the Collection array manually I don't want this done manually I need to do it dynamically. So what I am trying to understand is where to put the event-listener how to add to a collectionArray then once the collection array(s) are built. use that information to build the bar graphs...
/*
*
36, > 2 years, Compliance
6, 0-90 Days, Compliance
[Code].....
View 2 Replies
Apr 13, 2011
How can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?
View 5 Replies
Mar 2, 2011
Is it possible to develop chart in flash (eg. bar chart, pie chart)?
View 1 Replies
Dec 21, 2009
In my application, I am using a BarChart to display data. However, the text in the category axis can be too long to display on the chart, so flex adjusts the font size automatically to the point that the data is either unreadable, or the text is partially visible.The length of the text varies every time new data comes in, so I can't set the gutterLeft attribute to a static value at runtime.Two things that come to my mind are:Change the gutter dynamically according to new data/Have a scroll bar on the categoryaxis so that if any text won't fit in the space, the user can scroll to see it.[code]
View 1 Replies
Dec 3, 2009
Is there are component in Flex where we can display the data in table format. [URL]..
I did not like the look and feel, any other components.
View 2 Replies
Mar 10, 2012
I am trying to display grouped data in AdvancedDatagrid but the data does not show up. When I specify the dataprovider without the grouping collection I am able to see the data. Is there something wrong with this code?
<mx:AdvancedDataGrid id="dgAssetStatus" width="100%" height="85%" initialize="gc.refresh();">
<mx:dataProvider>
[code].....
View 1 Replies
Aug 18, 2009
Is it possible to display a multiline string in a Flex DataGridColumn?i.e. Display:
Text line one.
Text line two.
I've tried putting "
","
"," " when storing the string but nothing seems to work.Currently only "Text line one." is displayed and the rest is hidden in the cell. I would prefer not to use "wordWrap=true" to emulate this behaviour in the cell, but instead be able to manually put in newline breaks (although I could turn on wordWrap to avoid long text from hiding due to cell dimensions).
View 3 Replies
Apr 5, 2011
I have a sensor that sends data as text file. Data format as follow: dat=110405120000+000.00+000.00+005.65+000.00+040.71+000.00+000.00+000.20.
How can i parse this data? The output i want is:
date: 05-04-11
time: 12:00:00
ch01: 000.00
ch02: 000.00
[Code].....
View 2 Replies
Aug 5, 2011
I am trying to get anytihng from my SQLite to render in Flex, and I can't figure out how to display any data, even text, in Flex. What am I doing wrong?
[Code]...
I've tried a number of different components, and I can't seem to get the data to bind properly (although this code finally doesn't have the dreaded "Data binding will not be able to detect assignments to... " message, or the other dreaded "Property undefined" message).
View 1 Replies
Oct 3, 2008
I 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]....
View 2 Replies