CMS
Version 3.9
test_pie.inc
Go to the documentation of this file.
1
<?php
2
Fakoli::using
(
"svg_charts"
);
3
4
$pie
=
new
PieChart
(
"pie_test"
, 600, 600, array(10,20,30,80), array(
"First"
,
"Second"
,
"Third"
,
"Fourth"
),
"standard"
);
5
$pie
->setRadius(150);
6
$pie
->setCenter(180,180);
7
$pie
->setLabelSize(16);
8
$pie
->setStrokeWidth(2);
9
$pie
->showLegend(
true
, 350, 20);
10
$pie
->emboss =
true
;
11
$pie
->shadow =
false
;
12
$pie
->draw();
13
?>
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
PieChart
Definition:
pie_chart.inc:42
$pie
$pie
Definition:
test_pie.inc:4
code
cms.sonjara.com
cms
components
svg_charts
pages
test_pie.inc
Generated on Tue Mar 23 2021 15:36:14 for CMS by
1.9.1