New Flex Charting Component
Hello everyone,
We've just released a new charting component for Flex -
FusionCharts for Flex (beta). It works with both Flex 2 and 3. You
may download the same from
http://www.fusioncharts.com/flex
We would love to have your feedback/suggestions.
Thanks,
Pallav
P.S. I apologize if I've made this sound like an advert - but
our main aim is to get maximum feedback from Flex developers so
that we can enhance our product for your benefits.
Ok, I've got a basic renderer to render a UISelectOne component. I added the xml to the faces-context.xml. Now how to I add my new renderer to the tag? I see there is a setRendereType but how to I get at this to set it? Do I have to create a new tag?
Graham
Similar Messages
-
Flex Charts: Will they improve?
Hello!
I'm trying to make some minimalistic charts for some ultimate PDF business plans and annual reports. I did them in Illustrator first, but Illustrator's graph tool hasn't been developed on since 1996, and it was a real pain to update my charts as the numbers changed. With Flex though, I can just generate charts based on XML that I output from my business models in OpenOffice. Plus they look real good and are interactive.
It seems though, that everyone I talk to say that Flex Charts suck. That they were made by people who didn't follow standards. Personally I love Flex Charts, although I'm not a big fan of having a lot of "Wait for improved CSS support", "Should be CSS" etc. comments in my code:
https://gist.github.com/1623621
https://gist.github.com/1623625
https://gist.github.com/1623628
Does anybody know if this is about to change? Are there any new Flex charting libraries in the making?
--Dwayne
P.S. If you can, please forward this post to as many Flex developers as you can.Flex is now an Apache project (http://incubator.apache.org/flex/) and the future of the charting components will be determined by the open-source community there. However, I think Adobe may contribute some unreleased work that it has done towards a Spark version of the charting components.
Gordon Smith, Adobe -
Hi,
When I try to compile an application with Flex 2.0.1 compiler
under Moxie, the Charts show "Charting trial mode". When I switch
to Moxie Compiler, it disappears (I have a flex 2 and a Flex
Charting Serial). How can I register my Flex Charting component for
Flex 2 in Moxie ?Hi ArAgorrn,
The reason for this behavior is that the license.properties
file of Flex201 has not been updated. To fix this, follow the
procedure mentioned in this blog post -
registering-flexbuilder-with-serial-numbers-for-multiple-versions-of-sdk
Thanks
Raghu -
How to use Flex mx.charts component in flash project?
Can anyone enlighten me on how I can use the Flex mx.charts component in my Flash Project? I am using Flash Professional CS4
Are there any tutourials on the subject.
Thanks in advance.http://www.designscripting.com/2011/03/filtering-flex-chart-data-by-consuming-xml-data/
http://www.roseindia.net/tutorial/flex/flex4/components/chartactionscript.html
Or otherwise you can use the below link to use the fusioncharts components
http://www.fusioncharts.com/ -
Is there a known bug when displaying a chart component that is defined in a module. When attempting to display a chart component defined in a module it crashes indicating Error #1009: Cannot access a property or method of a null object reference.
It crashes at the following location in ChartBase.as. Somehow when loading the chart the styleManager.getStyleDeclaration("mx.charts.chartClasses.ChartBase"); returns null so when using the setStyle methods the exception occurs.
private function initStyles():Boolean
HaloDefaults.init(styleManager);
var chartBaseStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.chartClasses.ChartBase");
chartBaseStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
chartBaseStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
chartBaseStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
return true;
Added note: There is a chart component in the application that works fine. The only way I can get the chart in the module to display is to add the following workaround preinitializer but it severly impacts the loading of the module. Is there a way around this.
protected function preinitializeHandler(event:FlexEvent):void
var styleObjects:Array = FlexGlobals.topLevelApplication.styleManager.selectors;
for each(var styleObj:String in styleObjects) {
var style:CSSStyleDeclaration = FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration(styleObj);
styleManager.setStyleDeclaration(styleObj, style, true);
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.charts.chartClasses::ChartBase/initStyles()[E:\dev\4.y\frameworks\projects\charts\src\ mx\charts\chartClasses\ChartBase.as:1862]
at mx.charts.chartClasses::ChartBase/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\ChartBas e.as:1894]
at mx.charts.chartClasses::PolarChart/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\PolarCha rt.as:223]
at mx.charts::PieChart/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\PieChart.as:203]
at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1590]
at spark.components::Group/addElementAt()[E:\dev\4.y\frameworks\projects\spark\src\spark\com ponents\Group.as:1387]
at spark.components::SkinnableContainer/addElementAt()[E:\dev\4.y\frameworks\projects\spark\ src\spark\components\SkinnableContainer.as:775]
at mx.states::AddItems/addItemsToContentHolder()[E:\dev\4.y\frameworks\projects\framework\sr c\mx\states\AddItems.as:782]
at mx.states::AddItems/apply()[E:\dev\4.y\frameworks\projects\framework\src\mx\states\AddIte ms.as:563]
at mx.core::UIComponent/applyState()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:10741]
at mx.core::UIComponent/commitCurrentState()[E:\dev\4.y\frameworks\projects\framework\src\mx \core\UIComponent.as:10487]
at mx.core::UIComponent/setCurrentState()[E:\dev\4.y\frameworks\projects\framework\src\mx\co re\UIComponent.as:10323]
at mx.core::UIComponent/set currentState()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:6425]
at BloodPressure/bloodpressureDg_selectionChangeHandler()[C:\Users\Mark\Adobe Flash Builder 4.7\BiometricsFlexProject\src\BloodPressure.mxml:311]
at BloodPressure/__bloodpressureDg_selectionChange()[C:\Users\Mark\Adobe Flash Builder 4.7\BiometricsFlexProject\src\BloodPressure.mxml:41]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core \UIComponent.as:13152]
at spark.components::DataGrid/commitInteractiveSelection()[E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\DataGrid.as:3634]
at spark.components::DataGrid/setSelectionAnchorCaret()[E:\dev\4.y\frameworks\projects\spark \src\spark\components\DataGrid.as:4210]
at spark.components::DataGrid/grid_mouseDownHandler()[E:\dev\4.y\frameworks\projects\spark\s rc\spark\components\DataGrid.as:4679]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core \UIComponent.as:13152]
at spark.components::Grid/dispatchGridEvent()[E:\dev\4.y\frameworks\projects\spark\src\spark \components\Grid.as:4038]
at spark.components::Grid/grid_mouseDownDragUpHandler()[E:\dev\4.y\frameworks\projects\spark \src\spark\components\Grid.as:3883]
at Function/<anonymous>()[E:\dev\4.y\frameworks\projects\spark\src\spark\utils\MouseEventUti l.as:84]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.y\frameworks\projects\framework\s rc\mx\managers\SystemManager.as:2918]It appears as though this error has been going on for a while. See the following link http://forums.adobe.com/thread/941849
-
Flex 2.0.1 SDK Hotfix 1 breaking Flex Charting?
Hi all,
I applied the Flex SDK 2.0.1 Hotfix 1 listed in
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb401224
to my Eclipse Flex Plugin environment with SDK 2.0.1. Unfortunately
this seems to have broken flex charting with the following
compilation errors in my project: Unable to resolve a class for
ResourceBundle: charts.
Now the SDK doesn't have the charts.swc file, so I tried
copying over the charts.swc from my old SDK folder to the
frameworks\libs folder under the new hotfixed SDK. This doesn't
seem to fix the error however. It makes sense as charting it a
separate component but maybe there is an upgraded chart version as
well to work with the hotfixed SDK?
Can anyone provide any guidance here, we are in dire
straights. Any help is greatly appreciated!
Regards,
JasonNope, doesn't say anthing about that
To update the Flex Builder 2 Eclipse plug-in on Windows:
1. Read the Flex Builder 2 Release Notes for any
late-breaking information, updates, and known issues.
2. Download the Flex Builder 2.0.1 Update Installer for
Windows from the Adobe Flex Support Center.
3. Open or double-click the installer executable file.
4. Accept the license agreement and follow the prompts.
5. If the installer detects multiple installations of Flex
Builder 2, it prompts you for the location to be updated.
6. Select which Flash Player 9 browser plug-in to install:
* Internet Explorer
* Netscape or Firefox
Note: Flex Builder 2.0.1 and Flex SDK 2.0.1 can run with the
base version of Flash Player 9 (Version: 9,0,16,0 dated 6/27/07).
However, it's best to install the Flash Player 9 Update.
7. (Optional) When the installation finishes, restart your
computer to ensure that the updated Flash Player browser plug-in is
enabled.
8. Start Flex Builder. -
Hello all.
I need to make a new chart component or extend the LineChart
component thats part of Flex 2.0.
My problem is that I'm new to flex and don't know where to
start.
So my questions to you are:
Is the codebase for the Chart components available somewhere
for me to look-at/alter?
Where can I find some good resources about how to make my own
components?
EndreCreating a new chart is a fairly complex task, even for
seasoned Flex developers.
What doesn't the LineChart do that you need it to do? It may
be that properties exist to alter its behavior. Or maybe you just
need to make new type of itemRenderer for the lines.
Look at the Flex 2.0 documentation on custom components to
get some ideas; those sections however, are not geared toward the
charts.
Finally, if you have a license for the charts, you should
have the source in the Flex 2 SDK folder somewhere. Look for the
mx/charts folder structure. -
Crystal Reports 2008 Charting Component
When attempting to create a new report using the bar chart type, I receive the following error from the report wizard:
Crystal Reports Charting Component sscsdk80.dll could not be found
Please re-run the installation to fix this problem.
I have re-run the installation, selecting additional features of custom charting, and mapping and it did not solve the problem. I have tried to manually register sscsdk80.dll with regsvr32 and that fails:
Load Library Failed. The specified module could not be found. Which must refer to a dependency (?) of that .dll since sscsdk80.dll is obviously present.
I have tried copying sscsdk80.dll to the windows\system32 directory and manually registering with regsvr32 and that fails as well.
Any help would be appreciated. Trying to avoid un-installing and re-installing the entire Crystal Reports 2008 application.We had 2 users with this error this week, both on CR2008 SP2.
The file is located here, assuming BO/Crystal is installed to the default location: C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
I copied the .dll file to this location: C:\Program Files\Business Objects\common\4.0\bin
That stopped the error coming up and the graphs are displaying correctly. Had a similar error with the keydecoder.dll which I resolved by doing the above. Re-installing SP2 fixed the keydecoder.dll error for a while but then it started re-occuring and I tried the above fix, and the error hasn't come back.
We're on XP SP3. -
Flex 3 to Flex 4 migration issue (Flex charting and Special char)
Hi All,
I have migrated Flex 3 to Flex 4 and in Flex charting axis label, I am not able to see less then sign ( < ). I tried to use < but it's not working, I have attached sample code.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600" initialize="init()">
<fx:Declarations>
<s:SolidColor id="s1" color="#738994"/>
<mx:SeriesInterpolate id="seriesInterpolate" duration="800"/>
<mx:SeriesSlide id="seriesSlide" duration="800" direction="up"/>
<mx:SeriesZoom id="seriesZoom"
duration="1000"
minimumElementDuration="50"
elementOffset="50"
verticalFocus="top"
horizontalFocus="left"
relativeTo="chart"/>
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var student:ArrayCollection = new ArrayCollection([
{Stream: "Management", Girls:1000, Boys:1400, TotalStudent:2400},
{Stream: "<Computer Science", Girls:800, Boys:1200, TotalStudent:2000},
{Stream: "< Mechanical", Girls:200, Boys:1500, TotalStudent:1700},
{Stream: "> Electical", Girls:800, Boys:850, TotalStudent:1650},
{Stream: "Electronics", Girls:500, Boys:1000, TotalStudent:1500},
{Stream: "Civil", Girls:300, Boys:900, TotalStudent:1200}
private function update():void {
var str:String = catfDP.selectedItem.data;
if(str == "Girls"){
cs1.yField = str;
cs1.displayName = str;
cs1.setStyle("fill" , "738994");
}else if(str == "Boys"){
cs1.yField = str;
cs1.displayName = str;
cs1.setStyle("fill" , "999990");
}else{
cs1.yField = str;
cs1.displayName = str;
cs1.setStyle("fill" , "406374");
private function init():void{
catfDP.selectedIndex= 0;
effectDP.selectedIndex= 0;
]]>
</fx:Script>
<s:Panel title="Chart Effect Example" width="627" height="565">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<mx:ApplicationControlBar dock="true" width="625" height="82">
<mx:Form>
<mx:FormItem label="Category Field:">
<s:DropDownList id="catfDP" change="update();" prompt="--Select--" width="136"
height="19">
<s:dataProvider>
<mx:ArrayList>
<fx:Object data="Girls" label="Girls" />
<fx:Object data="Boys" label="Boys" />
<fx:Object data="TotalStudent" label="TotalStudent" />
</mx:ArrayList>
</s:dataProvider>
</s:DropDownList>
</mx:FormItem>
<mx:FormItem label="Choose Chart Effect:">
<s:DropDownList id="effectDP" change="update();" width="136" prompt="--Select--">
<s:dataProvider>
<mx:ArrayList>
<fx:Object label="seriesInterpolate" data="{seriesInterpolate}" />
<fx:Object label="seriesSlide" data="{seriesSlide}" />
<fx:Object label="seriesZoom" data="{seriesZoom}" />
</mx:ArrayList>
</s:dataProvider>
</s:DropDownList>
</mx:FormItem>
</mx:Form>
</mx:ApplicationControlBar>
<mx:ColumnChart id="cchart"
dataProvider="{student}"
showDataTips="true"
width="621"
fontFamily="verdana" height="402">
<mx:verticalAxis>
<mx:LinearAxis title="Number of Students" />
</mx:verticalAxis>
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{student}"
categoryField="Stream"
title="Stream"/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries id="cs1"
xField="Stream"
yField="Girls"
displayName="Girls"
fill="{s1}"
showDataEffect="{effectDP.selectedItem.data}"/>
</mx:series>
</mx:ColumnChart>
<s:HGroup>
<mx:Legend dataProvider="{cchart}"
direction="horizontal"/>
<s:VGroup>
</s:VGroup>
</s:HGroup>
</s:Panel>
</s:Application>Thank you very much for you answer.
I have solved this problem using Itemrenderer.
<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
autoDrawBackground="true">
<mx:Label htmlText="{data.text}"/>
</s:ItemRenderer>
and in chart I have used labelRenderer. in label I have used < for ( < ) sign.
<mx:horizontalAxis>
<mx:CategoryAxis
dataProvider="{expenses}"
categoryField="Month"
title="FY 2006"
id="a1"
/>
</mx:horizontalAxis>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
</mx:horizontalAxisRenderers>
<mx:verticalAxisRenderers>
<mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
</mx:verticalAxisRenderers> -
Flex chart restarts on tab focus in firefox
I have plotted flex chart inside div element. It shows up correctly but when i go to another tab in firefox and comes back then flex chart restarts. Also i have seen it happens inside dojo tabs also.
Anyone has any idea why chart restarts ? How can this be avoided.
Thanks,
ZoozThe author of Custom New Tab says this will be in the next update of the extension.
If you don't want to wait for the approval cycle on the Add-ons site, you can grab it from the Versions page:
https://addons.mozilla.org/firefox/addon/custom-new-tab/versions/
<s>Note: I have not tested it myself.</s>
<u>Version 1.9 worked for me. See screenshot regarding how the Options dialog works for the updated extension.</u> -
Hi,
I've put together a simple test app that pulls data from blazeds and inserts the results in a PieChart defined in mxml. However when I try to create the same chart in AS the chart doesn't show up. I suspect that it is perhaps related to the sequence of how things are initialized? but I'm not sure
Here is my code. I've created 3 charts. The first (mxml) chart is the one that works fine. The second (AS) is my attempt to recreate the mxml chart in AS and it does not work. The third is a sanity check of another test AS chart just to see if I can actually make an AS PieChart and it also works fine.
If anyone has any insight it would be much appreciated.
Thank you,
Kaveh
<?xml version="1.0" encoding="utf-8"?>
<!-- intro\intro_remoting.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:data="com.kg.data.*"
width="100%"
height="100%"
initialize="getPokerParameterNumbers()"
backgroundColor="#FFFFFF">
<mx:Script>
<![CDATA[
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
import mx.charts.PieChart;
import mx.charts.series.PieSeries;
import mx.charts.Legend;
[Bindable]
public var paramCount:ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Expense:"Taxes", Amount:2000},
{Expense:"Rent", Amount:1000},
{Expense:"Bills", Amount:100},
{Expense:"Car", Amount:450},
{Expense:"Gas", Amount:100},
{Expense:"Food", Amount:200}
// Get the initial data set from the poker db
private function getPokerParameterNumbers():void {
//remoteObject.getParameterTypesAndCount();
remoteObject.getParameterCount();
addSecondChart();
add3rdChart();
// Handle the recevied message.
private function resultHandler(event:ResultEvent):void {
statusTextArea.text += "Server responded [] : \n";
var myObject:Object = event.result;
paramCount.removeAll();
for (var key:* in myObject)
var value:* = myObject[key];
statusTextArea.text += "Parameter: " + key + " Count: " + value + "\n";
var paramItem:Object = new Object();
paramItem.parameterization = key;
paramItem.count = value;
paramCount.addItem(paramItem);
paramCount.refresh();
private function newResultHandler(event:ResultEvent):void {
var collectionResult:ArrayCollection = ArrayCollection(event.result);
statusTextArea.text += "-" + collectionResult.length + "-";
paramCount = ArrayCollection(event.result);
// Handle a message fault.
private function faultHandler(event:FaultEvent):void {
statusTextArea.text += "Received fault: " + event.fault + "\n";
public function addSecondChart():void {
//var medalsAC:ArrayCollection;
var chart:PieChart;
var series:PieSeries;
//medalsAC = getDataProvider();
/* Define pie series. */
series = new PieSeries();
//series.nameField = "label";
//series.field = "data";
series.nameField = "name";
series.field = "count";
/* Remove default dropshadow filter. */
series.filters = [];
/* Define pie chart. */
chart = new PieChart();
chart.percentWidth = 100;
chart.percentHeight = 100;
chart.showDataTips = true;
//chart.dataProvider = medalsAC;
chart.dataProvider = paramCount;
chart.series = [series];
/* Add chart to the display list. */
topHBox.addChild(chart);
private function add3rdChart():void {
var medalsAC:ArrayCollection;
var chart:PieChart;
var series:PieSeries;
medalsAC = getDataProvider();
/* Define pie series. */
series = new PieSeries();
series.nameField = "label";
series.field = "data";
/* Remove default dropshadow filter. */
series.filters = [];
/* Define pie chart. */
chart = new PieChart();
chart.percentWidth = 100;
chart.percentHeight = 100;
chart.showDataTips = true;
chart.dataProvider = medalsAC;
chart.series = [series];
/* Add chart to the display list. */
p1.addChild(chart);
* Create and return a simple ArrayCollection to
* use as a data provider.
private function getDataProvider():ArrayCollection {
var arr:Array = [];
arr.push({label:"Product 1", data:3});
arr.push({label:"Product 2", data:1});
arr.push({label:"Product 3", data:4});
arr.push({label:"Product 4", data:1});
arr.push({label:"Product 5", data:5});
arr.push({label:"Product 6", data:9});
return new ArrayCollection(arr);
]]>
</mx:Script>
<mx:RemoteObject id="remoteObject"
destination="pokerDataSource"
result="newResultHandler(event);"
fault="faultHandler(event);"/>
<mx:HBox width="100%" id="topHBox">
<mx:VBox>
<mx:PieChart id="myChart"
dataProvider="{paramCount}"
showDataTips="true"
selectionMode="single"
itemRollOverColor="#FF0066">
<mx:series>
<mx:PieSeries
field="count"
nameField="name"
labelPosition="callout"
/>
</mx:series>
</mx:PieChart>
<mx:Legend dataProvider="{myChart}"/>
</mx:VBox>
<mx:TextArea id="statusTextArea"
width="100%"
height="100%"
backgroundAlpha="0"
focusAlpha="0"
selectable="false"/>
</mx:HBox>
<mx:Panel id="p1"/>
</mx:Application>Hi,
Simply let a IE or FireFox window display your Flex chart,
and hold [Alt] and press [PrtSc] in your keyboard, Then, paste it
into Word or Paint to be edited.
Have fun!
Jeffrey -
Hello
I would like to create a horizontal bar chart according to data from a struts2 action class and place the flex chart in a jsp.
I have already seen code on how to do a horizontal bar chart @ http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=charts_types_109_03.html
I am watching James Ward's video on java and flex @ http://www.jamesward.com/blog/2008/07/21/video-flex-and-java/
How do I place the flex graph in my jsp? What kind of flex project/component do I create and where do I place it?
Appreciate all help.
ThanksOnce you compile your Flex app you can size it and embed it anywhere you
want in your web page. -
Chart component Library for JSF.
HI,
I've been testing the chart component library for JSF:
http://jschart.sourceforge.net
And it's very powerfull, but I think, is necessary more info about to develop appz with this.
Anyone knows, a blog or a web that contains any example of the use?
I've been working for days with the HOW TO in this web but it's very simply.
Thx in advance!!!
Regards.I have successfully used the jfreechart (cewolf) charting library with creator...its simple to use but also allows complex charts if you wish....
http://cewolf.sourceforge.net/new/index.html -
I have recently purchased Flex Charting and added the serial
number to the License Management section in Flex Builder 2 and now
all of my charts that I have created previously are not displaying
at all. I am getting an error telling me this
"Severity Description Resource In Folder Location Creation
Time Id
1 Design mode: Error creating item ColumnChart in parent
Canvas "Mortgage Calculator". Please choose Design > Refresh to
refresh design mode. ProductDetails.mxml flexstore/productsView
January 11, 2007 10:59:59 AM 2328"
However the "refresh" option does nothing to solve the
problem. Any idea what is wrong?What is the result format you're setting on your HTTPService
request?
"alice_data" <[email protected]> wrote in
message
news:g6novb$gpl$[email protected]..
> Hi,
>
> I am wondering if anyone has tried to extract some
information from the
> database and make attempts of plotting it using Flex
Charting. My code is
> in
> the following, and the database output brings back all
the results I
> desired,
> but when I run the script, I was given the following
error:
>
> ReferenceError: Error #1069: Property theta not found on
> mx.rpc.http.mxml.HTTPService and there is no default
value.
This suggests that your HTTPService result is coming back in
a format where
you can't just get the properties off of it. You may need to
set the result
format to e4x, and since it is rss you may need to use one or
more
namespaces.
HTH;
Amy -
I have a problem in the Flex Charting with the DateTimeAxis.
I have requirement to show more than 60 days data in days using the
line chart. When I tried that, chart showing x-axis data point in
months instead of days even though dataUnits mentioned in days.
When I observed Chart show data correctly if the data is in between
two months. If the data is span across more than two months chart
is showing x-axis labels in months.
Please let me know anything wrong in the code.
Here is the code:The following is the test data for the graph. The data is in
JSON form and uses adobe json utils to parse the data and updates
the data provider.
Data :
{"yaxisLabel":"New","chartTitle":"Entry Point
Summary","statusMessage":"Success","dataSet":[{"key":"07/06/2008","AcmeBilling":5},{"key" :"07/06/2008","AcmeBilling":13},{"key":"07/07/2008","AcmeBilling":10},{"key":"07/07/2008", "AcmeBilling":2},{"key":"07/08/2008","AcmeBilling":0},{"key":"07/09/2008","AcmeBilling":0} ,{"key":"07/13/2008","AcmeBilling":1},{"key":"07/14/2008","AcmeBilling":1},{"key":"07/15/2 008","AcmeBilling":3},{"key":"07/16/2008","AcmeBilling":5,"OutdailEntry1":3},{"key":"07/17 /2008","AcmeBilling":3,"OutdailEntry1":3},{"key":"07/18/2008","AcmeBilling":2,"OutdailEntr y1":0},{"key":"07/19/2008","AcmeBilling":0},{"key":"07/20/2008","AcmeBilling":5},{"key":"0 7/21/2008","AcmeBilling":20},{"key":"07/22/2008","AcmeBilling":31},{"key":"07/23/2008","Ac meBilling":13},{"key":"07/24/2008","AcmeBilling":28},{"key":"07/25/2008","AcmeBilling":34} ,{"key":"07/26/2008","AcmeBilling":0},{"key":"07/28/2008","AcmeBilling":46},{"key":"07/29/ 2008","AcmeBilling":29},{"key":"07/30/2008","AcmeBilling":11},{"key":"07/31/2008","AcmeBil ling":12,"OutdailEntry1":1},{"key":"08/01/2008","AcmeBilling":0,"OutdailEntry1":0},{"key": "08/03/2008","AcmeBilling":10},{"key":"08/04/2008","AcmeBilling":0},{"key":"08/07/2008","A cmeBilling":2},{"key":"08/08/2008","AcmeBilling":0},{"key":"08/11/2008","AcmeBilling":13}, {"key":"08/12/2008","AcmeBilling":0},{"key":"08/13/2008","AcmeBilling":2},{"key":"08/14/20 08","AcmeBilling":0},{"key":"08/18/2008","AcmeBilling":1},{"key":"08/19/2008","AcmeBilling ":0},{"AcmeCustSvc":1,"key":"08/20/2008","AcmeSales":2,"AcmeBilling":6},{"AcmeCustSvc":0," key":"08/21/2008","AcmeSales":0,"AcmeBilling":7},{"key":"08/22/2008","AcmeBilling":0},{"ke y":"08/25/2008","AcmeBilling":2},{"key":"08/26/2008","AcmeBilling":0},{"key":"08/27/2008", "AcmeBilling":17},{"key":"08/28/2008","AcmeBilling":5},{"key":"08/29/2008","AcmeBilling":5 },{"key":"08/30/2008","AcmeBilling":0},{"key":"09/01/2008","AcmeBilling":12},{"key":"09/02 /2008","AcmeBilling":0},{"key":"09/03/2008","AcmeBilling":0},{"key":"09/05/2008","AcmeBill ing":2},{"key":"09/06/2008","AcmeBilling":0},{"key":"09/07/2008","AcmeBilling":5},{"key":" 09/08/2008","AcmeBilling":4},{"key":"09/09/2008","AcmeBilling":0}],"dataUnits":"days","ser ies":[{"label":"AcmeBilling","seriesKey":"AcmeBilling"},{"label":"AcmeCustSvc","seriesKey" :"AcmeCustSvc"},{"label":"AcmeSales","seriesKey":"AcmeSales"},{"label":"OutdailEntry1","se riesKey":"OutdailEntry1"}],"statusCode":200}
Maybe you are looking for
-
24" iMac won't start when iPod is connected
My 24" iMac won't start up/restart if my iPod is already connected to it. If I restart with the iPod connected, I just get a gray screen (with no apple logo) forever. Has anyone else experienced this problem? If so, any solution? I have Windows insta
-
Satellite C650-I5011 - Brightness control is not working
Hi, I have a Toshiba C650 - I5011 model with Ubuntu 10.3 . I have a problem that even after pressing the Fn + F6 key, the brightness of my LCD does'nt change. It remains at maximum. I have installed both Toshutils and hotkey daemon. My volume control
-
XI Flat File to JDBC Mapping Error
Hi, I have been trying to insert some records from a flat file into a sybase database using the FILE adapter (with file content conversion) as a sender and the JDBC adapter as a reciever, but I keep getting mapping errors like: RuntimeException durin
-
File adapter picking up partial files
Hi All, We are facing a wierd problem with the File Adapter. The problem is that, we are getting the xml files from the source system, and PI is supposed to pick them up and process them. Sometimes, the file adapter is picking up the empty files / pa
-
How to delete masterdata via process-chain
Hi Specialists, I need to delete masterdata which is not used in any cube/osd on a daily base. But I cannot find a possibility to do that via the process-chain. There seems only to be the option to delete the content of cubes and ods-object, but not