如题,如下的初始化FlexChart对象,我想在{ binding: 'touki_hoken', name: '当期', style: { foreColor :'red' } },里面初始化柱的颜色,但是没有成功,能不能告诉我一下颜色的属性,和用rgb设置的方法,谢谢
- chart2 = new wijmo.chart.FlexChart("#chart");
- var lableVal;
- chart2.initialize({
- itemsSource: data,
- bindingX: 'name',
- chartType: wijmo.chart.ChartType.Column,
- stacking: wijmo.chart.Stacking.Stacked,
- 。。。。
- series: [
- { binding: 'touki_hoken', name: '1', style: { foreColor :'red' } },
- { binding: 'touki_jihi', name: '2', style: { } },
- { binding: 'zenki_hoken', name: '3'},
- { binding: 'zenki_jihi', name: '4'},
- ],
复制代码
|
|