Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bulletChart 配置demo实现ok,在项目中崩溃 #1406

Closed
xiangnuans opened this issue Jun 15, 2021 · 1 comment
Closed

bulletChart 配置demo实现ok,在项目中崩溃 #1406

xiangnuans opened this issue Jun 15, 2021 · 1 comment

Comments

@xiangnuans
Copy link

xiangnuans commented Jun 15, 2021

问题一: demo实现ok,在项目中页面崩溃

BizCharts Version: 4.1.10
Platform: MAC
Mini Showcase(like screenshots):
在官网上demo代码实现,可以,demo链接如下:https://bizcharts.net/gist/2SmCu2cZBOf
项目中代码如下(create-react-app新建的一个项目):页面崩溃
image

问题仓库代码:https://github.com/coco723/bzicharts-dem

问题二:关于刻度显示

需求:image

问题描述:bulletChart中的配置data也是数组支持多个显示,那么如何配置显示:
在官网尝试实现配置

yAxis={{
	tickCount: 11
}}

效果图如下,问题:如何调整为需求中的样式?

image

@Leannechn
Copy link
Contributor

问题一:
升级兼容的时候漏考虑了多个条形图的情况。所以可以直接参考g2Plot的配置项。将数据中的 targets 改成 target。 就不会触发这个兼容bug。同时 我们会在这两天修复这个bug。

问题二:
直接添加
image

demo地址 https://bizcharts.net/gist/2SmCu2cZBOf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants