ecomfe / echarts-liquidfill

Liquid Fill Chart for Apache ECharts
https://ecomfe.github.io/echarts-liquidfill/example/
BSD 3-Clause "New" or "Revised" License
1.47k stars 620 forks source link

i can't change fontSize #91

Closed yanglimou closed 5 years ago

yanglimou commented 5 years ago

{ title: { text: null, }, series: [{ type: 'liquidFill', radius: '70%', data: data, backgroundStyle: { borderWidth: 5, borderColor: '#76b9ed', color: 'rgba(255,0,255,0)' }, label: { fontSize: 30, normal: { formatter: value * 100 + '%', } } }] }

PatrickNgZh commented 5 years ago

I also encountered this problem. you are supposed to switch to 3.x.x version.

Ovilia commented 5 years ago

It works with echarts 4.2.1 and echarts-liquidFill 2.0.4. If it still not works for you, please use the latest version and provide the version code here.