Flex 4 DataVisualization
We were working on implementing a ui with Flex 4.
The problem is that we need the DataVisualization portion for
the AdvancedDataGrid and Charting.
When will this be available? I need a date as we were humming
on all cylinders are now blocked by this issue.
Or
Is it possible to use the current datavisualization.swc in
Flex 4 without having any issues?
I did try this:
http://www.ultrashock.com/forums/flex/flex-4-advanceddatagrid-123681.html'
but continued to have more problems when I tried to create a
dynamic render providers for the grid.
Thanks.
We were working on implementing a ui with Flex 4.
The problem is that we need the DataVisualization portion for
the AdvancedDataGrid and Charting.
When will this be available? I need a date as we were humming
on all cylinders are now blocked by this issue.
Or
Is it possible to use the current datavisualization.swc in
Flex 4 without having any issues?
I did try this:
http://www.ultrashock.com/forums/flex/flex-4-advanceddatagrid-123681.html'
but continued to have more problems when I tried to create a
dynamic render providers for the grid.
Thanks.
Similar Messages
-
Where do the Datavisualization files go when not using Flex Builder?
My application has charting and I use the sdk and ant
directly, not flex builder. I know where those files are under FB
but where do I place the datavisualization swf, swc and swz files
in the sdk in order to have charting without flex builder?
Thanks!Hey lllaass,
Thanks for your response.
I basically got an email from a friend with a link to google drive, that link took me to drive n then there was a download bottom which popped when I clicked on the files icon, these are 3 audio files which are recorded on a computer n sent to me via drive..
I too think it opened directly from drive.. Let me know though if u do come across some solution.
Thanks -
RSL Problems with DataVisualization Components and Flex 3.4 SDK
After discovering that the 3.4.1 SDK included with Flash Builder Beta 2 seems to be incomplete (missing the data visualization components and some of the signed swz files).
I've attempted to install the latest official build SDK into Flash Builder 4 and I'm running into a problem with the RSLs for datavisualization.swz. I did have to locate the datavisualization components on adobe.com an coppied them into the apporpiate directories.
Error #2046: The loaded file did not have a valid signature.
Failed to load RSL http://...com/flex/rsls/datavisualization_3.4.0.9271.swz
Failing over to RSL http://...com/flex/rsls/datavisualization_3.4.0.9271.swf
The app run fine but it isn't caching the RSLs. Is this a known problem with attempting to use an older build of the SDK with Flash Builder or is there something else going on? I previously was building this project with Flex 3.2 but I figured while I was at it to upgraded to the latest official 3.4 SDK.So I've added the suggested lines to the flex-config.xml and it doesn't help. I had to alter the path to the swf and swz slightly to get it to match the pre-existing entry for the framework.swz so I have the following rsl entries in my config now:
<runtime-shared-library-path>
<path-element>libs/framework.swc</path-element>
<rsl-url>framework_3.4.0.9271.swz</rsl-url>
<policy-file-url></policy-file-url>
<rsl-url>framework_3.4.0.9271.swf</rsl-url>
<policy-file-url></policy-file-url>
</runtime-shared-library-path>
<runtime-shared-library-path>
<path-element>libs/datavisualization.swc</path-element>
<rsl-url>datavisualization_3.4.0.9271.swz</rsl-url>
<policy-file-url></policy-file-url>
<rsl-url>datavisualization_3.4.0.9271.swf</rsl-url>
<policy-file-url></policy-file-url>
</runtime-shared-library-path>
If I have everything set to be merged into code or have the "Use local debug runtime shared libraries when debugging" checked then the message doesn't appear. But the minute I attempt to load the swz from same directory as the app or crossdomain like previously I'm getting thie same basic message even with manually coping the swz to the output directory or having the checkbox for "Copy library to deployment path" box checked.
Error #2046: The loaded file did not have a valid signature.
Failed to load RSL datavisualization_3.4.0.9271.swz
Failing over to RSL datavisualization_3.4.0.9271.swf
I've verified that all the copies of the swz are exactly the same and that no corruption is taking place as all the copies of the swz have the same md5 of 8b3138326f85d4b5b1aae9866f3909c0. I figured that 3.4 has been out long enough it would be a known issue is there was a problem with how the swz is signed and I'm unable to locate any such beug reports. I can't be the 1st person to try loading 3.4's datavisualization components as an RSLs.
The corresponding section of of .actionscriptProperties file for the RSL is currently this
<libraryPathEntry index="4" kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/datavisualization.swc" useDefaultLinkType="true">
<crossDomainRsls>
<crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="datavisualization_3.4.0.9271.swz"/>
<crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="datavisualization_3.4.0.9271.swf"/>
</crossDomainRsls>
</libraryPathEntry> -
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. -
Flex 4 migration: how to resolve css warnings
Hi,
we are trying to migrate a our flex app to flex 4, and while compiling the app, we are seeing a lot of the following warnings. I was wondering how to resolve these warnings. We are not using flex 3 compatibility flag but are using Halo as the default theme via the compiler argument -theme=${flexlib}/themes/Halo/halo.swc.
It seems that the warnings are coming from css packaged in datavisualization.swc and halo.swc
Thanks in advance
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(22): Warning: Cannot resolve namespace qualified type 'AdvancedDataGrid' in
CSS selector 'AdvancedDataGrid'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(56): Warning: Cannot resolve namespace qualified type 'AdvancedDataGridItem
Renderer' in CSS selector 'AdvancedDataGridItemRenderer'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(66): Warning: Cannot resolve namespace qualified type 'AdvancedDataGridSort
ItemRenderer' in CSS selector 'AdvancedDataGridSortItemRenderer'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(83): Warning: Cannot resolve namespace qualified type 'AdvancedDataGridHead
erRenderer' in CSS selector 'AdvancedDataGridHeaderRenderer'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(115): Warning: Cannot resolve namespace qualified type 'AdvancedListBase' i
n CSS selector 'AdvancedListBase'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(131): Warning: Cannot resolve namespace qualified type 'LegendItem' in CSS
selector 'LegendItem'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(144): Warning: Cannot resolve namespace qualified type 'PrintAdvancedDataGr
id' in CSS selector 'PrintAdvancedDataGrid'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\libs\datavisualization.swc$defaults.css(164): Warning: Cannot resolve namespace qualified type 'PrintOLAPDataGrid'
in CSS selector 'PrintOLAPDataGrid'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\themes\Halo\halo.swc$defaults.css(911): Warning: Cannot resolve namespace qualified type 'HTML' in CSS selector 'HT
ML'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\themes\Halo\halo.swc$defaults.css(1797): Warning: Cannot resolve namespace qualified type 'Window' in CSS selector
'Window'
[java]
[java]
[java]
[java] C:\svn-work\flex4p3\ui\lib\flex\frameworks\themes\Halo\halo.swc$defaults.css(1808): Warning: Cannot resolve namespace qualified type 'WindowedApplication' in
CSS selector 'WindowedApplication'I just saw that we are using xmlns:mx="http://www.adobe.com/2006/mxml" in all our custom components written in mxml, including our main application.
In our custom css, I have the default namespace set to:
@namespace "library://ns.adobe.com/flex/mx";
could this result in these warnings ? -
Hi There,
We have recently downloaded SDK 4 and had configured the same for
developement in flex builder 3, we are already using SDK 3.0. However
to our surprise there were compile time error reported for mx.chart
related classes. To resolve this we thought to import relevant .swc
like datavisualization, automation from sdk 3.0, and it worked and
resolved compile time error. But we landed up in on more problem that
is 'Declaration of style 'direction' conflicts with previous
declaration in E:\Softwares\FlexBuilder\sdks\SDK 4\frameworks\libs
\datavisualization.swc(mx/charts/GridLines)'.
If you could pleas help us to resolve these issues and also if you
could answer these queries would be good
1) SDK 4 has been declared to be open source, then why mx.chart
package is not part of it?
2) Why would 'Declaration of style 'direction' conflicts with previous
declaration' occur?
3) What are the other component and packages that are not part of open
source for which license is still required?
Waiting for reponse in anticipation.
Thanks,I got this same error with the following setup.
1. Building a SWC with Flex 4.0 Beta2 on FlashBuilder4
2. SWC references other SWC that are built with Flex3.
3. Define a <mx:ColumnChart id="column" ...> in a Flex4 skin.
4. Got this compiler error.
Any idea if this is not supposed to work? I'm hoping I don't need all referenced swcs to be recompiled with Flex4 SDK. Some of those are external dependency that I do not have source code access.
Thanks for any help.
kam -
Hi,
I am trying to build my Flex app which uses the Advanced Data Grid in a couple of locations. Originally, when I built the app using the flex ant tasks, I noticed the Visualization Trial watermark show up on the screen. I then added the license tag with the serial number to my flex-config.xml and re-ran my ant build. The watermark goes away, but then when I look at the advanced datagrid, the datagrid shows up with the hierarchy, but the data does not display in the grid (only the group by nodes are visible, not the data for the leaf elements). This works fine when I build the app using my Flex Builder. Is there something I am missing or need to add to my flex ant task to make this work?
Any help or guidance is much appreciated.
The following is the ant task to build the module that uses the ADG:
<target name="compile-modules" depends="compile-shared">
<!-- Module 1 -->
<echo>Compiling module 1...</echo>
<mxmlc file="${modulesrc.dir}\ui\modules\mod1\Module1.mxml"
output="${dist.dir}\modules\mod1\Module1.swf"
actionscript-file-encoding="UTF-8"
incremental="true"
default-background-color="0xFFFFFF"
use-network="false"
load-externs="${extern-report-xml}">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<source-path path-element="${FLEX_HOME}/frameworks"/>
<!-- source paths -->
<compiler.source-path path-element="${modulesrc.dir}"/>
<!-- add external libraries -->
<compiler.library-path dir="${main.dir}" append="true">
<include name="${lib.dir}"/>
</compiler.library-path>
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="locale/{locale}" />
</compiler.library-path>
<compiler.debug>true</compiler.debug>
</mxmlc>
</target>
And here is the ant task for the main application:
<target name="compile-ui" depends="compile-modules">
<mxmlc file="${src.dir}/MainApp.mxml" output="${dist.dir}/MainApp.swf"
actionscript-file-encoding="UTF-8" keep-generated-actionscript="false"
fork="true" maxmemory="1024m">
<jvmarg value="-XX:MaxPermSize=256m"/>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<source-path path-element="${src.dir}"/>
<source-path path-element="${main.dir}/locale/{locale}"/>
<!-- List of SWC files or directories that contain SWC files. -->
<!--<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="locale/{locale}" />
</compiler.library-path>-->
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs/datavisualization.swc" />
<include name="libs/flex.swc" />
<include name="libs/framework.swc" />
<include name="libs/rpc.swc" />
<include name="libs/utilities.swc" />
<include name="locale/{locale}" />
</compiler.library-path>
<compiler.library-path dir="${main.dir}" append="true">
<include name="${lib.dir}"/>
</compiler.library-path>
<runtime-shared-library-path path-element="${FLEX_FRAMEWORK}/framework.swc">
<url rsl-url="framework_3.2.0.3958.swf"/>
<url rsl-url="framework_3.2.0.3958.swz"/>
</runtime-shared-library-path>
<compiler.debug>true</compiler.debug>
</mxmlc>
</target>
Regards,
Purushto remove watermark i have added license key in WEB-INF\flex\license.properties file as key = value
-
Flex 4 - Can not get ADG working
Hello,
I have just downloaded flex 4 SDK (flex_sdk_4.0.0.14159_mpl) and Flash Builder 4.
I have created a test prroject and can not get it working with Advanced Data Grids.
Here is my set up: Created Project called Test, this contains one MXML file that contains an Advanced Data Grid:
<fx:Script>
<![CDATA[
import mx.collections.HierarchicalData;
[Bindable] private var _test:HierarchicalData;
]]>
</fx:Script>
<mx:AdvancedDataGrid id="test" dataProvider="{_test}">
<mx:columns>
<mx:AdvancedDataGridColumn headerText="COL_A" />
<mx:AdvancedDataGridColumn headerText="COL_B" />
<mx:AdvancedDataGridColumn headerText="COL_C" />
</mx:columns>
</mx:AdvancedDataGrid>
This works Okay. I then include a libary into the project, the libary, also built with the same SDK, contains a class that contains nothing but one single method that does nothing:
<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="100%" height="100%">
<fx:Script>
<![CDATA[
import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
private function test(col:AdvancedDataGridColumn):void { }
]]>
</fx:Script>
</mx:Canvas>
Launcing now causes the error
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::AdvancedDataGridBaseEx/getSeparator()[E:\dev\4.0.0\frameworks\projects\datav isualization\src\mx\controls\AdvancedDataGridBaseEx.as:4618]
at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[E:\dev\4.0.0\frameworks\proj ects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4660]
at mx.controls::AdvancedDataGrid/createHeaderSeparators()[E:\dev\4.0.0\frameworks\projects\d atavisualization\src\mx\controls\AdvancedDataGrid.as:2428]
at mx.controls::AdvancedDataGridBaseEx/drawSeparators()[E:\dev\4.0.0\frameworks\projects\dat avisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4574]
at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\ datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:2119]
at mx.controls::AdvancedDataGrid/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\datavi sualization\src\mx\controls\AdvancedDataGrid.as:2899]
at mx.controls.listClasses::AdvancedListBase/validateDisplayList()[E:\dev\4.0.0\frameworks\p rojects\datavisualization\src\mx\controls\listClasses\AdvancedListBase.as:3468]
at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:718]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
Removing the method in the libary project alivates the problem. But I can not see why this is a problem in the first place!!??!?!?!?!?!?!?
Can anyone help. this is really weird.I'm getting the same error. This is due to a bug in AdvancedDataGridBaseEx. The offending code is:
var headerSeparatorClass:Class =
getStyle("headerSeparatorSkin");
sepSkin = new headerSeparatorClass();
if getStyle returns null then you will be trying to instantiate headerSeparatorClass is going to cause the "Instantiation attempted on a non-constructor" error.
Apparently someone thought that the headerSeparatorSkin would never be null. -
Flex compiler in FlexBuilder and Flex SDK
I have downloaded Flex Builder 3.0.2 and Flex SDK 3.2. Are
they using the same version of Flex compiler?
Is there a way to check the version of Flex compiler?quote:
Originally posted by:
mab_bond
And regarding the Advanced datagrid you must copy the
dataVisualization.swc.from sdk 3.1
It sounds like the SDK3.2 download is incomplete. I'm not
sure if upgrade FB with this download is a good idea. -
Licens chart library VS datavisualization licens library
Hi I am Carlo and this is my first time that write here.
Recently I up grade my application from flex2 to flex3. The passage it was quite simple but I have a problem with the new chart library datavisualization.swc. I have the license of the old library (chart.swc) but this license don't work with the new.
I must buy a new license or I can use my old license ? if yes, how can i do it? if no, I must buy only datavisualization license or I must buy all flex3 builder license?
thanxs in advantage
CarloYour Flex 2 charting license will not work--you must upgrade. Furthermore, Adobe decided to bundle the Flex 3 Data Visualization license with the Flex Builder 3 Pro license. As far as I know, there is no way to purchase these separately--you must buy a Flex Builder 3 Pro license to get charting.
-
I'm an existing Flex 2 customer, and would very much like to
migrate m development to Linux. However, I need to generate
applications, which use flex charting, and would like to get rid of
the 'Flex Charting Trial' message. Is there a way to reuse the Flex
Charting license key from the Windows version?
Alternately, can I purchase a new license at this time,
although the software is still in alpha?I believe you want to continue developing on a Flex 2.0.1 SDK
when you move to Flex Builder Linux?
You can copy the file sdks/2.0.1/frameworks/libs/charts.swc
to the same location in the 2.0.1 SDK delivered with the FB Linux.
You can also copy the file frameworks/license.properties from your
2.0.1 SDK in Windows to the same location in the 2.0.1 SDK in
Linux. This should get rid of the watermark.
In case you want to move to Flex 3, you need an installation
of the Flex Builder 3 on Windows OR Mac. You can copy the file
sdks/3.0.0/frameworks/libs/datavisualization.swc to the same
location in FB Linux and set your charting key in the file
sdks/3.0.0/frameworks/license.properties. -
Revision: 13089
Revision: 13089
Author: [email protected]
Date: 2009-12-17 16:54:43 -0800 (Thu, 17 Dec 2009)
Log Message:
doctor up the config files so rsls work properly for datavisualization
QE notes: make sure rsls are functioning properly
Doc notes: no
Bugs: no
Reviewer: nope
Tests run:
Is noteworthy for integration: no
Modified Paths:
flex/sdk/trunk/frameworks/air-config.xml
flex/sdk/trunk/frameworks/flex-config.xmlRevision: 13089
Revision: 13089
Author: [email protected]
Date: 2009-12-17 16:54:43 -0800 (Thu, 17 Dec 2009)
Log Message:
doctor up the config files so rsls work properly for datavisualization
QE notes: make sure rsls are functioning properly
Doc notes: no
Bugs: no
Reviewer: nope
Tests run:
Is noteworthy for integration: no
Modified Paths:
flex/sdk/trunk/frameworks/air-config.xml
flex/sdk/trunk/frameworks/flex-config.xml -
I have a requirement to use mx.charts in my mobile application, as suggested in the below article
http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html#articlecont entAdobe_numberedheader_3g
I have added the datavisualization.swc and mx.swc into the library path , but am still not able to refrence any charts. Am not sure if i need to change the namespace or something.
If anyone has created a mobile application using Hero and mx.charts please let me know what i need to do to solve this ..
Thanks in advance.I have managed to get mx charts to compile and deploy in Burrito Mobile Applications by creating custom name spaces, for example:
xmlns:charts="mx.charts.*"
xmlns:series="mx.charts.series.*"
xmlns:chartClasses="mx.charts.chartClasses.*"
Then referencing these in the charts:
<chartClasses:CartesianChart....
I have included datavisualization.swc, mx.swc and sparkskins.swc in my path. -
Revision: 13078
Revision: 13078
Author: [email protected]
Date: 2009-12-17 14:19:06 -0800 (Thu, 17 Dec 2009)
Log Message:
minor fix to exclude datavisualization from the package
QE notes: dmv folks to verify it matches with what they want
Doc notes:
Bugs: no
Reviewer: no
Tests run: checkintests
Is noteworthy for integration: no
Modified Paths:
flex/sdk/trunk/build.xml -
Source missing for SDK 3.6 datavisualization components
Just noticed that the default sourcepath for datavisualization components is wrong in my FB 4.5 installation.
It reads
D:\Flex\Adobe Flash Builder 4.5\sdks\3.6.0\fbpro\projects\datavisualization\src
instead of
D:\Flex\Adobe Flash Builder 4.5\sdks\3.6.0\frameworks\projects\datavisualization\src
Is that filed as a bug?
How can I change that permanently for all projects?(yawn)
Maybe you are looking for
-
I erased an iphone on find my iphone , so i wanted to know what happened and I erased my without a sim card and now I says I cant go on it until i put in a sim card. Did i ruin the phone please help thanks.
-
Adding full screen button to DW Flash video?
When I finish a project, I take the video out of Apple Compressor as a .flv file. I then take this and drag it into an HTML file in DreamWeaver. This brings up the "Insert FLV" window, where I can choose some controls, set auto play, etc. None of
-
Does anyone know what is the maximum number of triggers I can write on a specific table? In Oracle 7.x one could write 12 triggers ( 6 row level and 6 Table Level Triggers)
-
Server configuration.. better to free up space??
I have a mac mini server and 6TB external. The server is 2 500GB currently storing and running time machine and the external RAID 1. Would it be more efficient to store all the data on the external drive and free up the server space or does it not ma
-
Actual capacity of the 4 hdd bays with/without raid...
I've seen a few discussions regarding the capacity of the Mac Pro and it's 4 HDDs. I will be buying one shortly and have a few questions regarding this. 1) It seems clear that from other discussions, the Mac Pro can detect and operate a 3TB drive wit