- 博客(4)
- 收藏
- 关注
原创 bizchartsX轴文字问题
1. X轴文字太长了,发生重叠//chartList是数据 当横坐标大于15个值得时候,关闭自动旋转,自定义设置旋转角度12度<Axis name="text" label = {{ rotate: chartList.length > 15 ? 12 : 0, autoRotate: chartList.length > 15 ? fals...
2019-04-30 13:54:28 6388 6
原创 Bizcharts 自定义tooltip 显示内容
需求:将英文换成汉字<Chart height={300} width={800} scale={scale} data={mydata} onGetG2Instance={chart => { chartIns = chart; }}> <Axis name="people" grid={null} label={{ offset: 1,te...
2019-04-23 17:40:30 7194
原创 解决Flutter SDK的问题
当在VScode中执行Flutter: New Project,报了下面的错误:[undefined] flutter create . Waiting for another flutter command to release the startup lock... Cannot create a project within the Flutter SDK. Target d...
2019-04-03 17:56:54 2290 2
原创 Ant Design中建立图表
需求:1.首先我们引入bizcharts ,这是官方推荐的npm install bizcharts --save2.页面引入,按需引入import { G2, Chart, Geom, Axis, Tooltip, Coord, Label, Legend, View, Guide, Shape, Facet, Util } from "bizcharts";3.编写...
2019-04-01 22:29:47 5289
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人