Series Implementation in chart components
Hi Everybody,
I want to design a custom line chart component for xcelsius. Unfortunately I could not add series to my chart component as it implemented in xcelsius line chart. I am new to xcelsius and I am not getting idea, when I will modify a property in component, how it will reflect in the property sheet. I don't know how the series part works in xcelsius components and each series holds its respective data.
Please help me.
Thanks.
Let me explain you with a simple example:
Data:
Product 1, Product 2
2007, 10 , 20
2008, 30 , 50
2009, 40 , 60
Drag and drop line chart on canvas, and go to properties of the chart.
Select radio button By Series and click +
Name: Product 1
Values(Y): select the cells under product 1 i.e. 10, 30 and 40
Category Labels(X): Select cells that contains year i.e. 2007, 2008, 2009
Click + to add another series
Name: Product 2
Values(Y): select the cells under product 1 i.e. 20, 50 and 60
That's it...save and preview...you will understand how the series in this chart works.
-Anil
Similar Messages
-
Chart Components : Option to select a item for drill down by Label name
Hi
Currently for all Chart components in Xcelsius in Drill down mode we do not have the option to insert the X Axis Label values by selecting the Label on the X- Axis. It is made mandatory that we should click on any of the Series and that too we get only Position or Value but not Label.
Why should some one necessarily click on a particular series to drill down. Why cant he drill down by just clicking on x axis label. This seems to be a general requirement but I did not find this option. Am I missing something?
I want to check whether if we will do have the option to select the label name by just clicking on the X-axis labels.
Please note: I know the other alternatives of getting the label by enabling a series and inserting the position and using some label based menu to derive the Label.
Regards
Gangadharhi
then do like this
dont use drill down option for that.
take push buttons and one combo box.
place those pushbuttons into X-Axis Labels and transparent them.
combobox is used for dynamic Data Retrival.
in ComboBox Component behavior properties you have option Selected Item(Type and Item) in that item should be map to Pushbutton Destination cell.
you will get data as per your Requirement(Like you can drill down from X-axis Labels).
Regards
Prasad -
Burrito mobile project charting components
I have a problem when trying to use the charting components in a Flex Hero mobile project with Flash Builder Burrito.
The release notes(http://labs.adobe.com/wiki/index.php/Flex_SDK_Hero) of Flex Hero state that the charting components aren't included in a mobile project by default, but that you can add the swc's manually.
So I created a new "Flex Mobile Project" in Burrito and added the charting swc's (datavisualization.swc and mx.swc) to the project. But when I try to use the Barchart component or any other chart component I get errors in my Flex application because it cannot resolve the component.
I have a feeling this problem has something to do with the com.adobe.flexide.project.multiplatform.multiplatformnature used in the .project file in a mobile project, but I'm not 100% sure.
Anyone else having this problem and is there any way to resolve this problem?ok, so here's another problem with charting in a mobile project... if I'm not mistaken there's a problem with the mobile skin.
Although this renders (if you have the datavisualisation.swc and mx.swc and sparkskins.swc in your libs folder) you will not see any text on the axis or in the tooltips. Does anybody have an explanation and solution? I'm not understand how the skinning is put together in spark :
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="Home" xmlns:local="*"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:charts="mx.charts.*"
xmlns:datavis="mx.charts.series.*">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script><![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"January", Profit:2000, Expenses:1500, Amount:450},
{Month:"February", Profit:1000, Expenses:200, Amount:600},
{Month:"March", Profit:1500, Expenses:500, Amount:300},
{Month:"April", Profit:500, Expenses:300, Amount:500},
{Month:"May", Profit:1000, Expenses:450, Amount:250},
{Month:"June", Profit:2000, Expenses:500, Amount:700}
]]></fx:Script>
<mx:Panel title="Plot Chart">
<charts:PlotChart id="myChart" dataProvider="{expenses}"
showDataTips="true">
<charts:series>
<datavis:PlotSeries
xField="Expenses"
yField="Profit"
displayName="Plot 1"
/>
<datavis:PlotSeries
xField="Amount"
yField="Expenses"
displayName="Plot 2"
/>
<datavis:PlotSeries
xField="Profit"
yField="Amount"
displayName="Plot 3"
/>
</charts:series>
</charts:PlotChart>
<charts:Legend dataProvider="{myChart}"/>
</mx:Panel>
</s:View> -
Using flex 2.0 charting components with flex 3
I purchased and installed a flex 2 charting components
library so i could use it in my AIR application development. It
installed alongside the 3.0 beta visualization components so that I
now have two copies of each component in my charts folder. I can't
see how to ensure that the right library is used so that the charts
actually appear when i run my app. I'd hate to think i just threw
away $300 so any help would be greatly appreciated - .Are you using Flex Builder 3? Flex 3.0 beta Data
visualization components are available as part of FB 3 only. You
can select either 2.0.1 hotfix 3 charts (consists of only
charts.swc) or 3.0.0 data visualization (consists of
datavisualization.swc). through multiple sdks feature of FB3. For
flex 3 beta, flex 2 charting key will work. so if you want to try
out new features in charts and new components like Advanced data
grid you can switch to 3.0.0 sdk and use same flex 2 charting key
to remove watermark from charts. -
Custom Resource Renderer not coming on Implementing Flexible UI Components
HI,
I am using the Sneak Preview NW2004s SP9 with TREX .
I have to modify the search result list as returned by the TREX using the default search, basically have to include a custom Link based on the resource name.
I am trying to run the examples from the Knowledge Management and Collaboration Developer's Guide - "How to Implement Flexible UI Components".
I deployed the par file for the sample application "Using Flexible UI Ready-Mades"
and followed the steps as outlined below:
System Administration>System Configuration>Knowledge Management -->Content Management
1) Under
User Interface->Mapping>Resource Renderer
Created a new mapping for the java class com.sap.km.ui.renderer.SimpleResourceRenderer
2) Then under
User Interface->Settings>Resource Renderer Settings
Created a duplicate of SearchResourceRenderer
and in the copy changed the Resource Renderer to the custom one(as the one mapped in previous step).
In the Search Result layout Set, i changed the Resource Renderer Name to the custom one.
Now i restarted the server.(i tried restarting after almost all the steps )
But my resource renderer is not coming after i execute the TREX Search.The list returned seems to use the default Resource Renderer.
I even tried by making an advanced copy of the Search Layout Set, changed the Resource Renderer name, updated the OTH file(search.oth), Switched on the degugging for the WdfProxy and reloaded the OTH.
Now the new layout Set is being used but still i cannot see the result as per the custom resource renderer.
Morover, if i try to print some message from the resource renderer code(Component render method), it is not printed in the default Trace file.
Please help me in identifying and resolving the problem.
Thanks,
SiddharthaHi Detlev,
Sorry for the delay.
We don't want to exlude the folders, we would like keep it, the problem is, instead of appearing the folder name, is displayed the error message and below the actions (details, delete, ).
At first, we thought that could have been an error in the configuration of LayoutSet, but then, we tried on other two environments, with the default LayoutSet configuration and we still get, on the three environments, the same error message.
Any idea?
Thanks and Regards,
John -
Function returning SQL query for mutiple series in a chart
Hi,
I would like to know if there is a way to specify a single PL/SQL function returning the queries for multiple series in a 2D Line Flash Chart. I have multiple series in my chart that has different values in the where clause. I can write a PL/SQL function that can return all these queries in one shot. Is there anyway that I can specify this function as returning the queries for all the series in the chart?
As an example, assume that I am using the following three queries for the series in my chart:
select deptno, count(*) from emp where deptno = 10 group by deptno
select deptno, count(*) from emp where deptno = 20 group by deptno
select deptno, count(*) from emp where deptno = 30 group by deptno
I can't write a PL/SQL function that returns a query in the multiple series syntax (SELECT link, label, series_1_value [, series_2_value [, ...]]FROM ...) as I am using an aggregate function and my where clause is different for each series.
Thanks,
RupeshHi Roel,
Thanks for your reply. I am already using an analytical function (RATIO_TO_REPORT(COUNT(*)) OVER () ) in my actual report. My problem is that the query for one series differs from the other only in one where clause. I will be able to dynamically able to generate all the queries for all the series in one pl/sql function. But the chart definition screen does not allow us to define a single function that returns queries for the all the series - possibly seperated by some seperator like S1: select.... S2:select and so on.
Regards,
Rupesh -
Scatter plot using time series function - Flash charting
Apex 3 + XE + XP
I am trying to build a time series scatter plot chart using flash chart component.
Situation :
On each scout date counts are taken within each crop. I want to order them by scout dates and display them in a time series chart. Each series represents different crop.
I am posting the two series queries I used
Queries:
Series 1
select null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from "COUNTY" "COUNTY",
"FIELD" "FIELD",
"VARIETYLIST" "VARIETYLIST",
"INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
"SCOUTDATES" "SCOUTDATES",
"CROP" "CROP"
where "SCOUTDATES"."CROPID"="CROP"."CROPID"
and "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
and "CROP"."FIELDID"="FIELD"."FIELDID"
and "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
and "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
and "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
and "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=1
order by SCOUTDATES.SCOUTDATE' ASC
Series 2:
select null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from "COUNTY" "COUNTY",
"FIELD" "FIELD",
"VARIETYLIST" "VARIETYLIST",
"INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
"SCOUTDATES" "SCOUTDATES",
"CROP" "CROP"
where "SCOUTDATES"."CROPID"="CROP"."CROPID"
and "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
and "CROP"."FIELDID"="FIELD"."FIELDID"
and "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
and "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
and "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
and "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=4
order by SCOUTDATES.SCOUTDATE' ASC
Problem
As you can see the observations are ordered by scout date. However when the chart appears, the dates dont appear in order. The chart displays the data from crop 1 and then followed by crop 4 data, which is not exactly a time series chart. Does flash chart support time series or they have no clue that the data type is date and it should be progressive in charting ? I tried to use to_char(date,'j') to converting them and apply the same principle however it did not help either.
Any suggestions ?
Message was edited by:
tarumugam
Message was edited by:
aruArumugam,
All labels are treated as strings, so APEX will not compare them as dates.
There are two workarounds to get all your data in the right order:
1) Combine the SQL statements into single-query multi-series format, something like this:
select null LINK,
"SCOUTDATES"."SCOUTDATE" LABEL,
decode(CROP.CROPID,1,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 1",
decode(CROP.CROPID,4,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 4"
from "COUNTY" "COUNTY",
"FIELD" "FIELD",
"VARIETYLIST" "VARIETYLIST",
"INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
"SCOUTDATES" "SCOUTDATES",
"CROP" "CROP"
where "SCOUTDATES"."CROPID"="CROP"."CROPID"
and "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
and "CROP"."FIELDID"="FIELD"."FIELDID"
and "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
and "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
and "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
and "COUNTY"."COUNTNAME" ='Kings'
AND CROP.CROPID in (1,4)
order by SCOUTDATES.SCOUTDATE ASC2) Union the full domain of labels into your first query. Then the sorting will be applied to the full list, and the values of the second series will be associated with the matching labels from the first.
- Marco -
Programitically creating column series to flex chart not showing the chart
I want to create n number of series dynamically when i run my
application.
where n can be any value it depends on the data which i
retrieve from database. below i pasted the example
( in this example i have taken n = 4 i.e., CountMax=4 if i
change the CountMax=6 then it should generate 6series dynamically
after calculating the values. ). just copy the below code and paste
it in Flex builder and run the application.
in this example i am facing problem, chart series are not
showing. i dont know the reason why its not showing, if anyone got
the solutions for the problem please let me know. my actual
requirement is to retrieve data from Salesforce account and want to
populate the arraylist then display the chart.
<?xml version="1.0"?>
<!-- Example showing using mx:LineSeries vs using AS to
create chart series programmatically -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="drawChart()" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.charts.series.ColumnSeries;
import mx.charts.series.LineSeries;
import mx.collections.ArrayCollection;
[Bindable]
public var categoryArray:ArrayCollection = new
ArrayCollection();
[Bindable]
public var sArray:ArrayCollection = new ArrayCollection();
public function drawChart():void
var histMax:int = 25;
var histMin:int = 5;
var countMax:int = 6;
var tmpArr:Array = new Array();
categoryArray.removeAll();
for(var n:int = 0; n < 10; n++)
tmpArr[n] = histMin + Math.round((2 * n) / 20 * (histMax -
histMin));
categoryArray.addItem({data:tmpArr[n]});
// Add a series to the chart with the x-values and y-values
// from the arrays and set the series type to a column chart
for(var chartSeries:int = 0; chartSeries < countMax;
chartSeries++)
var tmpseries:Array = new Array(10);
for(var i:int = 1; i < 10; i++)
tmpseries = 3 * Math.random();
var cs:ColumnSeries = new ColumnSeries();
columnchart1.series.join( = [cs];
sArray.addItem({data:tmpseries});
//columnchart1.dataProvider = sArray;
cs = new ColumnSeries();
cs.dataProvider= sArray;
cs.displayName = 'Series';
cs.yField = 'data';
columnchart1.series[chartSeries] = cs;
]]>
</mx:Script>
<mx:Panel title="Dynamic Series Adding Sample"
width="195%" height="90%" layout="absolute">
<mx:ColumnChart id="columnchart1" height="338"
width="396" showDataTips="true" type="stacked" x="10" y="0">
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{categoryArray}"
categoryField="data"/>
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis baseAtZero="true" maximum="3"
autoAdjust="true"/>
</mx:verticalAxis>
</mx:ColumnChart>
</mx:Panel>
</mx:Application><?xml version="1.0"?>
<!-- Example showing using mx:ColumnSeries vs using AS to
create chart series programmatically -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="drawChart()" layout="absolute">
<mx:Script>
<![CDATA[
import mx.graphics.SolidColor;
import mx.charts.HitData;
import mx.controls.Alert;
import mx.charts.series.ColumnSeries;
import mx.charts.series.LineSeries;
import mx.collections.ArrayCollection;
[Bindable]
public var categoryArray:ArrayCollection = new
ArrayCollection();
public function drawChart():void
var histMax:int = 25;
var histMin:int = 5;
var countMax:int = 3;
var tmpArr:Array = new Array();
categoryArray.removeAll();
for(var n:int = 0; n < 10; n++)
tmpArr[n] = histMin + Math.round((2 * n) / 20 * (histMax -
histMin));
categoryArray.addItem({data:tmpArr[n]});
var cs:ColumnSeries = new ColumnSeries();
columnchart1.series = [cs];
// Add a series to the chart with the x-values and y-values
// from the arrays and set the series type to a column chart
for(var chartSeries:int = 0; chartSeries < countMax;
chartSeries++)
var tmpseries:Array = new Array(10);
for(var i:int = 0; i < 10; i++)
tmpseries
= 1 * Math.random();
if(tmpseries > 0.5)
tmpseries
= 1;
else
tmpseries = 0;
var testArrCol:ArrayCollection = new ArrayCollection();
for(var j:int =0; j < 10; j++)
var m:Number = tmpArr[j];
var m1:Number = tmpseries[j];
testArrCol.addItem({mData:m.toString(),nData:m1.toString()});
cs = new ColumnSeries();
cs.dataProvider = testArrCol;
cs.displayName = 'Series' + chartSeries;
cs.xField = 'mData';
cs.yField = 'nData';
columnchart1.series[chartSeries] = cs;
public function myTipFunction(hitData:HitData):String
return(ColumnSeries(hitData.element).displayName +" - "+
hitData.item.mData + "\n" + "Value : "+ hitData.item.nData);
]]>
</mx:Script>
<mx:Panel title="Dynamic Series Adding Sample" width="98%"
height="90%" layout="absolute">
<mx:ColumnChart id="columnchart1" height="338"
width="396" showDataTips="true" type="stacked" x="10" y="0"
dataTipFunction="{myTipFunction}">
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{categoryArray}"
categoryField="data"/>
</mx:horizontalAxis>
<mx:verticalAxisRenderer>
<mx:AxisRenderer visible="false"/>
</mx:verticalAxisRenderer>
</mx:ColumnChart>
</mx:Panel>
</mx:Application> -
Programitically adding column series in flex chart is not showing the chart
<?xml version="1.0"?>
<!-- Example showing using mx:LineSeries vs using AS to
create chart series programmatically -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="drawChart()" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.charts.series.ColumnSeries;
import mx.charts.series.LineSeries;
import mx.collections.ArrayCollection;
[Bindable]
public var categoryArray:ArrayCollection = new
ArrayCollection();
[Bindable]
public var sArray:ArrayCollection = new ArrayCollection();
public function drawChart():void
var histMax:int = 25;
var histMin:int = 5;
var countMax:int = 6;
var tmpArr:Array = new Array();
categoryArray.removeAll();
for(var n:int = 0; n < 10; n++)
tmpArr[n] = histMin + Math.round((2 * n) / 20 * (histMax -
histMin));
categoryArray.addItem({data:tmpArr[n]});
// Add a series to the chart with the x-values and y-values
// from the arrays and set the series type to a column chart
for(var chartSeries:int = 0; chartSeries < countMax;
chartSeries++)
var tmpseries:Array = new Array(10);
for(var i:int = 1; i < 10; i++)
tmpseries
= 3 * Math.random();
var cs:ColumnSeries = new ColumnSeries();
columnchart1.series.join( = [cs];
sArray.addItem({data:tmpseries});
//columnchart1.dataProvider = sArray;
cs = new ColumnSeries();
cs.dataProvider= sArray;
cs.displayName = 'Series';
cs.yField = 'data';
columnchart1.series[chartSeries] = cs;
]]>
</mx:Script>
<mx:Panel title="Dynamic Series Adding Sample"
width="195%" height="90%" layout="absolute">
<mx:ColumnChart id="columnchart1" height="338"
width="396" showDataTips="true" type="stacked" x="10" y="0">
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{categoryArray}"
categoryField="data"/>
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis baseAtZero="true" maximum="3"
autoAdjust="true"/>
</mx:verticalAxis>
</mx:ColumnChart>
</mx:Panel>
</mx:Application><?xml version="1.0"?>
<!-- Example showing using mx:ColumnSeries vs using AS to
create chart series programmatically -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="drawChart()" layout="absolute">
<mx:Script>
<![CDATA[
import mx.graphics.SolidColor;
import mx.charts.HitData;
import mx.controls.Alert;
import mx.charts.series.ColumnSeries;
import mx.charts.series.LineSeries;
import mx.collections.ArrayCollection;
[Bindable]
public var categoryArray:ArrayCollection = new
ArrayCollection();
public function drawChart():void
var histMax:int = 25;
var histMin:int = 5;
var countMax:int = 3;
var tmpArr:Array = new Array();
categoryArray.removeAll();
for(var n:int = 0; n < 10; n++)
tmpArr[n] = histMin + Math.round((2 * n) / 20 * (histMax -
histMin));
categoryArray.addItem({data:tmpArr[n]});
var cs:ColumnSeries = new ColumnSeries();
columnchart1.series = [cs];
// Add a series to the chart with the x-values and y-values
// from the arrays and set the series type to a column chart
for(var chartSeries:int = 0; chartSeries < countMax;
chartSeries++)
var tmpseries:Array = new Array(10);
for(var i:int = 0; i < 10; i++)
tmpseries
= 1 * Math.random();
if(tmpseries > 0.5)
tmpseries
= 1;
else
tmpseries = 0;
var testArrCol:ArrayCollection = new ArrayCollection();
for(var j:int =0; j < 10; j++)
var m:Number = tmpArr[j];
var m1:Number = tmpseries[j];
testArrCol.addItem({mData:m.toString(),nData:m1.toString()});
cs = new ColumnSeries();
cs.dataProvider = testArrCol;
cs.displayName = 'Series' + chartSeries;
cs.xField = 'mData';
cs.yField = 'nData';
columnchart1.series[chartSeries] = cs;
public function myTipFunction(hitData:HitData):String
return(ColumnSeries(hitData.element).displayName +" - "+
hitData.item.mData + "\n" + "Value : "+ hitData.item.nData);
]]>
</mx:Script>
<mx:Panel title="Dynamic Series Adding Sample" width="98%"
height="90%" layout="absolute">
<mx:ColumnChart id="columnchart1" height="338"
width="396" showDataTips="true" type="stacked" x="10" y="0"
dataTipFunction="{myTipFunction}">
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{categoryArray}"
categoryField="data"/>
</mx:horizontalAxis>
<mx:verticalAxisRenderer>
<mx:AxisRenderer visible="false"/>
</mx:verticalAxisRenderer>
</mx:ColumnChart>
</mx:Panel>
</mx:Application> -
Add data series to excel chart
I have an envelope on a chart in Excel. I would like to add same test data to the chart. I can open the workbook and get my data on a worksheet, but can't figure out how to add the data series to the chart using ActiveX.
Here is some vi's that I forgot that I had for excel. In it is one vi in particular called create chart.vi have alook at it. I'm sending you the whole llb. i have not tested them in LV 8 yet.
hope they help.
Joe.
"NOTHING IS EVER EASY"
Attachments:
excel.llb 2092 KB -
How to remove series from a chart?
Hi,
I want to remove a serie from a chart with 2 series. I've tried app.columnChart.removeChild(app.columnChart.series[1]);
to remove the second serie, but it doesn't work. The error it writes is:
The supplied DisplayObject must be a child of the caller. Please help.
ReneThanx for reply.But this is not what i am looking for.I need
to apply different colors for each bars.I am generating charts
dynamically.The item renderer is working fine.But at specific
condition the item renderer shold ne removed from the chart series -
Charting components for actionscript project
hi -
I have an actionscript project going (ie, not flex) and I want to use some kind of charting components
I'm complining as desktop appilication, ie, I am running on the AIR platform
because it's an actionscript-only project I dont think I can use any of the mx.* classes -- is this true? would be good to confirm that
given that, I think my only option is to find a third-part charting package that's AS3-only
any suggestions?
thanksTried compiling it using the FlexBuilder IDE? There's nothing
wrong with your code, so it sounds like your compiler doesn't know
where to find the libraries, or is looking in the wrong place. Are
you giving an explicit library-path argument?
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=L iveDocs_Parts&file=00001500.html -
Dynamic Category labels in chart components
When the data is dynamically changing, how do we handle variable category labels in chart components?
Found the answer :). There is this option of ignore blank cells under behavior->common tab..
-
Title says it all. I don't know how I can hide certain series
in a linechart. Searched the docs and different sites, but I just
can't find a method to do it. Setting the alpha of a serie to 0 is
no option because the datatips will still popup.
To make it more clear, watch
[url=http://www.wowhealers.com/healbot1.40.html]this
application[/url]. Clicking the black dots there also hides a
certain serie.
Thanks in advance :)I think you only have two options: use the alpha as you have
done and use your own function or class to handle the dataTips,
preventing the ones you don't want to show up from appearing. Or
remove the series from the chart (you don't have to destroy it,
just remove it and it can be added back).
The problem with the latter is that, say you have 3 clustered
series so there are 3 bars showing up. If you remove a series, the
other 2 bars spread out to occupy the remaining space.
If you still want to go with the alpha solution, try setting
enabled="false" on the series. I have no idea if that will work,
but if it does and you have set the alpha to 0, then it should
prevent the data tips from appearing and you won't have to write
some function or class to handle it. -
I have 4 series in a chart and I want to have 3 using the left axis and 1 using the right, how can I set this up?
thanksSelect the chart then the series to delete by clicking on the series' header. It should look like this:
Then use the delete key. You're right, the "Edit"/"Delete" is not enable. This is probably a bug.
Message was edited by: 5|=vv... clicking on the series in the chart, while it selects the series does not then allow deletion (probably another bug).
Maybe you are looking for
-
How to pass dates as parameters in GO URL?
Hi, Can we pass date values as parameters in GO URL? I have a date column in my source report that I would like to pass as filter parameter to target reports via GO URL. Could you please let me know the correct syntax if this is possible?
-
BPM design for trigger based file from Oracle
Hi We have one requirement as follows: 1. We need to receive trigger file from Oracle. 2. As soon as we recieved trigger file, it needs to activate all other 10 JDBC adapter channels. 3. once reciever all 10 RFC channels completed, it needs to pass t
-
Hi, Can Anyoone tell me BAPI for RFQ Release?
-
How can I resolve a recent printing problem I'm experiencing regarding downloads from the web where pages beyond the 1st page appear 50% reduced when printed or lines of type at bottoms of pages are missing?
-
WIP MASS LOAD를 이용한 DISCRETE JOB생성 방법
제품 : MFG_WIP 작성날짜 : 2004-05-21 WIP MASS LOAD를 이용한 DISCRETE JOB생성 방법 ==================================== PURPOSE WIP Mass Load를 이용한 Discrete Job생성 방법을 기술하고자 한다. Explanation (1) Interface Table 정보 WIP_JOB_SCHEDULE_INTERFACE (Header level) WIP_JOB_DTLS