jqplot 字体设置
梦宇飞 2011-03-30 03:32:43 如何设置选项的字体大小
$(document).ready(function(){
$.jqplot.config.enablePlugins = true;
/*line1 = [['中国', 20], ['美国', 17], ['deer', 2.5], ['turkeys', 6], ['moles', 5], ['ground hogs', 4],];*/
line1 = [['新增客户', 1103],['意向A级客户', 212],['意向B级客户', 73],['意向C级客户', 50],['跟进客户 A', 10],['跟进客户 B', 11],['正式客户', 20],['问题客户', 13],['流失客户', 4],['冻结客户', 3]];
line2 = [3, 7, 2.5, 6, 5, 4];
plot4 = $.jqplot('chart1', [line1], {
title: '所有客户统计图',
seriesDefaults:{renderer:$.jqplot.PieRenderer, rendererOptions:{sliceMargin:2,fontSize:"18px"/*刻度值的字体大小*/}},
legend:{show:true}
});
});
如何设置 line1 的字体大小