Skip to content
Rahman Usta edited this page Apr 3, 2015 · 6 revisions

AsciidocFX Charts

JavaFX has 9 kind of Chart component and AsciidocFX supports all of them. To see all available options please look at chart options

Pie Chart

[chart,pie,file="secim-2014-pie.png",opt="title=2014 YEREL SEÇİM SONUÇLARI"]
--
AKP,  45.6, orange
CHP,  27.8,red
MHP,  15.2
BDP,  4.2
SP,  2
--
secim 2014 pie

Line Chart

[chart,line,file="secim-2014-line.png",opt="title=2014 YEREL SEÇİM SONUÇLARI"]
--
//April
1,  4
3,  10
6,  15
9,  8
12, 5

//May
1,  20
3,  15
6,  13
9,  12
12, 14
--
secim 2014 line

Area Chart

[chart,area,file="area-chart.png"]
--
//April
1,  4
3,  10
6,  15
9,  8
12, 5

//May
1,  20
3,  15
6,  13
9,  12
12, 14
--
area chart

Bar Chart

[chart,bar,file="bar-chart.png"]
--
//April
1,  4
3,  10
6,  15
9,  8
12, 5

//May
1,  20
3,  15
6,  13
9,  12
12, 14
--
bar chart

Scatter Chart

[chart,scatter,file="scatter-chart.png"]
--
//April
1,  4
3,  10
6,  15
9,  8
12, 5

//May
1,  20
3,  15
6,  13
9,  12
12, 14
--
scatter chart

Bubble Chart

[chart,bubble,file="bubble-chart.png"]
--
//April
1,  4
3,  10
6,  15
9,  8
12, 5

//May
1,  20
3,  15
6,  13
9,  12
12, 14
--
bubble chart

Stacked Area Chart

[chart,"stacked-area",file="stacked-area-chart.png"]
--
//April
1,  4
3,  10
6,  15
9,  8
12, 5

//May
1,  20
3,  15
6,  13
9,  12
12, 14
--
stacked area chart

Stacked Bar Chart

[chart,"stacked-bar",file="stacked-bar-chart.png"]
--
//April
1,  4
3,  10
6,  15
9,  8
12, 5

//May
1,  20
3,  15
6,  13
9,  12
12, 14
--
stacked bar chart