卡弗瑞松
卡弗瑞松
Flutter插件脚本也会自动安装的。 build_ios.sh脚本将插件也拷贝到PRODUCT_PATH目录下
I fixed it, you need to update `ruby-macho`‘s version to '2.5.1'🎉
> Any update on this? I also get the same issue. @MarkEcho you need to update ruby-macho‘s version to '2.5.1'
@MarkEcho you need to ``` gem uninstall ruby-macho gem install ruby-macho -v 2.5.1 ``` or ``` gem uninstall ruby-macho gem uninstall cocoapods cocoapods-core cocoapods-deintegrate cocoapods-downloader cocoapods-plugins cocoapods-search cocoapods-trunk cocoapods-try cocoapods-stats...
配置coord,代码如下: ``` Chart( coord: RectCoord( horizontalRange: [0, maxHorizontalRange], horizontalRangeUpdater: (initialValue, preValue, event) { // final horizontalRangeUpdater = Defaults.horizontalRangeEvent; final res = horizontalRangeUpdater(initialValue, preValue, event); if (res[1] - res[0] < maxHorizontalRange)...
修改RectCoord的horizontalRange个verticalRange属性即可 ``` Chart( data: chartData, coord: RectCoord( horizontalRange: [minHorizontalRange, maxHorizontalRange], verticalRange: [minVerticalRange, maxVerticalRange], ``` 通过代码修改rang,就能实现你说的效果: ``` setState(() { minHorizontalRange += 0.1; }); ```