Eksploderende 3D-cirkeldiagram SQL Script
-------------------------------------------------------------------------------------------------------------------------------------------------------------
--
Eksploderende 3D-cirkeldiagram
--
-- Notes: The query below will work on the following
database servers:
-- MS SQL
Server, Sybase ASE, Sybase IQ, Sybase Anywhere, MySQL,
PostreSQL
--
-- ORACLE: To make the query below work in Oracle, add
" FROM DUAL" at the end of each
SELECT
-- DB2: To make the query below work in DB2, add "
FROM SYSIBM.SYSDUMMY1" at the end of each SELECT
-------------------------------------------------------------------------------------------------------------------------------------------------------------
select 'A'
as category,
40
as s1
union
select 'B'
as category,
5
as s1
union
select 'C'
as category,
3
as s1
union
select 'D'
as category,
45
as s1
union
select 'E'
as category,
25
as s1
GO
.setResultSettings
'Index=1,
CategoryFields="[category]",
SeriesFields="[s1]",
ShowChart=true,
ShowToolbar=true,
Paging=true,
Split=197,
Chart="{pie}",
RotX=284,
RotY=0,
RotZ=0,
Zoom=50.0,
ScaleData=true,
ShowLegend=true,
ShowGrid=true,
Title="3D
Pie Exploding Chart",
PieExplode=1.0,
GroupSmallValues=true,
SmallValuesThreshold=3.0,
PieLabelDistance=5.0,
PieShowLines=true,
LineWidth=1.0,
Width=16.0,
Height=10.0,
Depth=12.0,
SeriesSpacing=0.5,
CategorySpacing=0.5,
Font="Arial-6",
TopColor="#D7DCF5",
BottomColor="#EBF0F5",
PanX=1.5999995,
PanY=2.1000004,
Lighting=Default,
View2D=false,
StackedPercent=false,
ShowValueAxis=true,
ShowCategoryAxis=true,
ShowSeriesAxis=false,
ValueAxisNumberFormat="###0",
CategoryAxisNumberFormat="#,##0",
NumericCategoryAxis=false,
MergeAxis=true,
SeriesAlias="default",
SeriesSubType="",
SeriesColumnType="Cube",
SeriesMin="default",
SeriesMax="default",
SeriesColor="#333333",
SeriesFunctionMetaData="true",
LegendPosition=Top
Right,
LegendWidthType=Exact,
LegendWidth=100,
LegendHeightType=Fit,
LegendHeight=160,
ShowFixedCategoryCount=true,
FixedCategoryCount=0'
|