wxchart
wxchart copied to clipboard
微信小程序,图表组件(柱状图、折线图、饼图、雷达图...)。持续更新中...
Results
7
wxchart issues
Sort by
recently updated
recently updated
newest added
在chart.js文件里面修改var y = chartOpt.axisBottom - (barHeight * ((item.data[k]) / (maxMark))); 改为下面 var y = chartOpt.axisBottom - (barHeight * ((item.data[k]-最低栏显示值) / (maxMark-最低栏显示值))); 这样显示就正常了
请问如果X轴是日期的话,要查询最近30天或最近半年的数据, 如何保证在X轴上始终只显示7条数据,自动根据series配置的数据进行切分?