Radar charts


Set the chart.type="Cloumn" default


[ritsrivastava said:]
can i set the Default chart.Type="column", of radar chart. i have call the method "switchToColumnSeries()" end of my code but it gives the error. in Legend.
[dmandrioli said:]
RadarChart.type allowed values are "circular" and "polygonal". This property is used for the grid lines, not for series.
Hope this helps,
SystemAdmin
110000D4XK
‏2009-06-23T21:44:53Z
[dmandrioli said:]
RadarChart.type allowed values are "circular" and "polygonal". This property is used for the grid lines, not for series.
Hope this helps,
More...
[ritsrivastava said:]
The default applied chart.type="polygonal" on Radar can i change it chart.type="circular"???
SystemAdmin
110000D4XK
‏2009-06-23T21:53:26Z
[ritsrivastava said:]
The default applied chart.type="polygonal" on Radar can i change it chart.type="circular"???
More...
[dmandrioli said:]
Yes, you can set type to "circular":
- in MXML: <ilog:RadarChart id="chart" type="circular" ... <br /> - or in Action Script: chart.type = "circular"
Hope this helps,
SystemAdmin
110000D4XK
‏2009-06-23T21:56:57Z
[dmandrioli said:]
Yes, you can set type to "circular":
- in MXML: <ilog:RadarChart id="chart" type="circular" ... <br /> - or in Action Script: chart.type = "circular"
Hope this helps,
More...
[ritsrivastava said:]
Ya, i have chenge it 'chart.type = "circular";' but dont change the 'chart.series' ,'lineSeries' to 'columnSeries' so it cant create the column in chart, when i change the 'chart.series' to 'columnSeries' [ chart.series='columnSeries' ], it gives error in legend creation [color]
SystemAdmin
110000D4XK
‏2009-06-23T22:02:53Z
[ritsrivastava said:]
Ya, i have chenge it 'chart.type = "circular";' but dont change the 'chart.series' ,'lineSeries' to 'columnSeries' so it cant create the column in chart, when i change the 'chart.series' to 'columnSeries' [ chart.series='columnSeries' ], it gives error in legend creation [color]
More...
[dmandrioli said:]
i change the 'chart.series' to 'columnSeries' [ chart.series='columnSeries' ]
Maybe you have to replace
chart.series='columnSeries'
by
chart.series=columnSeries (columnSeries is an object, not a string)
Hope this helps,
SystemAdmin
110000D4XK
‏2009-06-23T22:22:12Z
[dmandrioli said:]
i change the 'chart.series' to 'columnSeries' [ chart.series='columnSeries' ]
Maybe you have to replace
chart.series='columnSeries'
by
chart.series=columnSeries (columnSeries is an object, not a string)
Hope this helps,
More...
[ritsrivastava said:]
No, i have replace like that :
chart.series=columnSeries;
chart.type="circular";
SystemAdmin
110000D4XK
‏2009-06-23T22:29:29Z
[ritsrivastava said:]
No, i have replace like that :
chart.series=columnSeries;
chart.type="circular";
More...
[dmandrioli said:]
I do not understand what you are trying to achieve.
Please post a complete runnable sample that reproduces your problem.
Thanks,
SystemAdmin
110000D4XK
‏2009-06-23T22:47:01Z
[dmandrioli said:]
I do not understand what you are trying to achieve.
Please post a complete runnable sample that reproduces your problem.
Thanks,
More...
[ritsrivastava said:]
i have past my code here;
NomValue=[];
var xml:XML;
categories = [];
lineSeries=[];
columnSeries=[];
for each (xml in source.indicators.indicator)
{
categories.push(xml.toString());
}
countries = [];
dataSource = new ArrayCollection();
var i:int = 0;
var j:int = 0;
for each (var s:Object in source.country)
{
countries.push(s.#name.toString());
}
for each (var cat:String in categories)
{
var o:Object = new Object();
o["Category"] = cat;
dataSource.addItem(o);
}
i = 0;
for each (s in source.country)
{
j = 0;
for each (var value:Number in s.value)
{
NomValue.push(Number(Math.floor(Number(value)*1000)/1000))
dataSource.getItemAt(j)[countries[i]] = Number(Math.floor(Number(value)*1000)/1000);
j++;
}
i++;
}
createSeries(lineSeries,RadarLineSeries);
createSeries(columnSeries, RadarColumnSeries);
initSeriesMapping();
chart.series=lineSeries;
initLegend();
liner.maximum=Math.max.apply(null, NomValue)
if (lineForm=='1')
{
switchToSegment();
}
else
{
switchToCurve();
}
switch (axes)
{
case ('1'):
hAxis.visible=true;
vAxis.visible=false;
hAxis.includeInLayout=true;
vAxis.includeInLayout=false;
break;
case ('2'):
hAxis.visible=false;
vAxis.visible=true;
hAxis.includeInLayout=false;
vAxis.includeInLayout=true;
break;
case ('3'):
hAxis.visible=true;
vAxis.visible=true;
hAxis.includeInLayout=true;
vAxis.includeInLayout=true;
break;
case ('4'):
hAxis.visible=false;
vAxis.visible=false;
hAxis.includeInLayout=false;
vAxis.includeInLayout=false;
break;
}
if (seriesType=='1')
{
chart.series = lineSeries;
chart.type = "polygonal";
}
else
{
chart.series = lineSeries;
chart.type = "polygonal";
}
// end of code
it give the listed error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at RadarLineSeriesLegendMarker/updateDisplayList()[/usr/flex/flex1.0/maven2-dev/trunk/build/bin/chart/src/flex/ilog/charts/series/RadarLineSeriesLegendMarker.as:70]
at mx.skins::ProgrammaticSkin/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
at mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:602]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:675]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]
SystemAdmin
110000D4XK
‏2009-06-23T23:28:08Z
[ritsrivastava said:]
i have past my code here;
NomValue=[];
var xml:XML;
categories = [];
lineSeries=[];
columnSeries=[];
for each (xml in source.indicators.indicator)
{
categories.push(xml.toString());
}
countries = [];
dataSource = new ArrayCollection();
var i:int = 0;
var j:int = 0;
for each (var s:Object in source.country)
{
countries.push(s.#name.toString());
}
for each (var cat:String in categories)
{
var o:Object = new Object();
o["Category"] = cat;
dataSource.addItem(o);
}
i = 0;
for each (s in source.country)
{
j = 0;
for each (var value:Number in s.value)
{
NomValue.push(Number(Math.floor(Number(value)*1000)/1000))
dataSource.getItemAt(j)[countries[i]] = Number(Math.floor(Number(value)*1000)/1000);
j++;
}
i++;
}
createSeries(lineSeries,RadarLineSeries);
createSeries(columnSeries, RadarColumnSeries);
initSeriesMapping();
chart.series=lineSeries;
initLegend();
liner.maximum=Math.max.apply(null, NomValue)
if (lineForm=='1')
{
switchToSegment();
}
else
{
switchToCurve();
}
switch (axes)
{
case ('1'):
hAxis.visible=true;
vAxis.visible=false;
hAxis.includeInLayout=true;
vAxis.includeInLayout=false;
break;
case ('2'):
hAxis.visible=false;
vAxis.visible=true;
hAxis.includeInLayout=false;
vAxis.includeInLayout=true;
break;
case ('3'):
hAxis.visible=true;
vAxis.visible=true;
hAxis.includeInLayout=true;
vAxis.includeInLayout=true;
break;
case ('4'):
hAxis.visible=false;
vAxis.visible=false;
hAxis.includeInLayout=false;
vAxis.includeInLayout=false;
break;
}
if (seriesType=='1')
{
chart.series = lineSeries;
chart.type = "polygonal";
}
else
{
chart.series = lineSeries;
chart.type = "polygonal";
}
// end of code
it give the listed error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at RadarLineSeriesLegendMarker/updateDisplayList()[/usr/flex/flex1.0/maven2-dev/trunk/build/bin/chart/src/flex/ilog/charts/series/RadarLineSeriesLegendMarker.as:70]
at mx.skins::ProgrammaticSkin/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
at mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:602]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:675]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]
More...
[dmandrioli said:]
Thanks for providing some source code, unfortunately it is not enough to understand and investigate your problem.
Please post a runnable sample i.e. a zipped Flex Builder project or a complete Application to copy/paste in Flex Builder.
Thanks,

Related Links

Error updating radarchart
Change the orientation of the category label
Labels size
Customizing radar charts angular axis labels
Custom labelFunction for radarchart
Linear Gradient as fill for RadarColumnSerie
Dragging Radar Line Series
How to change angular axis minimum and maximum?
RadarColumnSeries Remove Column Tapering on Large Values
Need to create radar chart without writing code
Radar Labels don\'t update
Radarchart gradient background
Run Time Radar Data
Rotating the angular axis
Set the chart.type="Cloumn" default
pls help me

Categories

DW
BigData
PureApplication System
IBM Security
Application Performanc...
IBM messaging
Sterling Commerce
Cast Iron Community
Rational
ibm_ru
WebSphere
IBM SmartCloud Notes
IBM Kenexa CompAnalyst...
IBM TRIRIGA CAD Integr...
Jazz for Service Manag...
Jazz for Service Manag...
IBM Tivoli Monitoring ...
Security Configuration...
Patch Management
Managed File Transfer
Cast Iron PIPs and TIPs
RPG Cafe
Cognos 8
Reportar contenido ina...
SOA и Web-сервисы
Rational DOORS integra...
Build and Release Mana...
Серверы IBM System x
webarchitecture
powerarchitecture
autonomic
Robocode
db2
Lotus Brasil
Greenhouse
Fabrication and Assembly
Banking
IBM LanguageWare Resou...
aW
Tivoli
IBM Automation Control...
Java
Linux
InfoSphere DataStage
Optim Test Data Fabric...
IBM InfoSphere Data Ar...
DB2 for Linux, UNIX, a...
Infosphere Warehouse
WebSphere Application ...
IBM Business Process M...
WebSphere MQ
IBM HTTP Server
WebSphere eXtreme Scale
QRadar Incident Forens...
Collaboration Network
Gentran Integration Su...
Gentran Integration Su...
Gentran Mapping
JSP Webpages in GIS
Connect:Express Unix
Sterling Secure Proxy
Connect:Express Windows
SDK Releases
C3 Configurator
C3 Invoicing
Documentation
How Are You Using Sell...
Dealing With Your ERP ...
How To's
Comergent Security
Release 6.7
Release 6.0
E-Commerce/EDI/XML Cou...
Reverse Logistics
App Servers
WebSphere-Misc
Mathematical Programming
IBM Operational Decisi...
Gauges, Indicators and...
Rule Studio for Java
Форумы WebSphere
Форум System x
Форумы ОС Linux
FAQ
IBM Mote Runner SDK
IBM Workload Automatio...
Performance Management...
IBM License Metric Tool
IBM SmartCloud Cost Ma...
IBM Platform MPI Commu...
PowerVM Forum
IT architecture forum
IBM WebSphere Applicat...
Middleware and Web ser...
IBM SCORE

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile