Skip to content
Rahman Usta edited this page Apr 2, 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,file="secim-2014-pie.png",opt="type=pie,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,file="secim-2014-line.png",opt="type=line,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,file="area-chart.png",opt="type=area"]
--
//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,file="bar-chart.png",opt="type=bar"]
--
//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,file="scatter-chart.png",opt="type=scatter"]
--
//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,file="bubble-chart.png",opt="type=bubble"]
--
//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,file="stacked-area-chart.png",opt="type=stacked-area"]
--
//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,file="stacked-bar-chart.png",opt="type=stacked-bar"]
--
//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