请问这段关于openflashchart2 X坐标轴的字体大小如何设置 [ 新手入门 ]
请问这段关于 openflashchart2 样例代码中的 X坐标轴的字体大小如何设置啊?谢谢
$flashChart = Yii::createComponent('application.extensions.openflashchart2.EOFC2');
$flashChart->begin('SteppChart');
$flashChart->setTitle('Steppometer','{color:#880a88;font-size:15px;padding-bottom:20px;}');
$data['1']['Day']['date'] = 'October \'09';
$data['1']['Day']['count'] = '123';
$data['2']['Day']['date'] = 'November \'09';
$data['2']['Day']['count'] = 345;
$data['3']['Day']['date'] = 'December \'09';
$data['3']['Day']['count'] = 500;
$flashChart->setData($data);
$flashChart->setNumbersPath('{n}.Day.count');
$flashChart->setLabelsPath('default.{n}.Day.date');
$flashChart->setLegend('x','Dato');
$flashChart->setLegend('y','Skritt', '{color:#AA0aFF;font-size:12px;}');
$flashChart->axis('x',array('tick_height' => 10,'3d' => -10));
$flashChart->axis('y',array('range' => array(0,600,100)));
$flashChart->renderData();
$flashChart->render(400,300);
共 4 条回复
hkyizu 安徽淮北
注册时间:2011-06-12
最后登录:1970-01-01
在线时长:0小时0分
最后登录:1970-01-01
在线时长:0小时0分
- 粉丝0
- 金钱110
- 威望0
- 积分110