Comments (5)
需要用两个 geom 去做。
三列数据先 fold ,然后用 geom 显示, 然后 color 等于 fold 的 key 字段。
fold参考:
https://alibaba.github.io/BizCharts/demo-detail.html?code=demo/line/series
另一列数据单独用一个 geom 显示。
两个 geom y 不一样会出现双轴,如果不需要双轴,隐藏掉其中一根,并且将两根 y 轴的刻度范围对齐下。
from bizcharts.
@weepy3641 谢谢你的指点.
我用多View来解决的这个问题.
以后会深度使用BizCharts, 以后可以多交流
from bizcharts.
欢迎使用及提意见。
from bizcharts.
@weepy3641 另一列数据的柱状图和三列数据的柱状图重叠怎么解
from bizcharts.
@chaselss
没明白你的意思,你是想要并列柱状图?
可以参考如下 demo
https://alibaba.github.io/BizCharts/demo-detail.html?code=demo/bar/grouped-column
from bizcharts.
Related Issues (20)
- Tooltip报错
- legend
- react18 严格模式下, 切换 图表类型 不渲染 HOT 1
- 带有label的条形图(BizCharts@4)数据紊乱,刷新会随机出现以下2种情况,label对应的会乱
- Changing Legend onChange does not update component (temp fix found) HOT 1
- onAnnotationClick在Annotation.Html下不生效 HOT 1
- The above error occurred in the <Chart3> component: HOT 1
- English documentation
- [Feature Request]气泡散点图支持双缩略轴
- 设置了父级元素的宽高,并且把autoFit设置为true,再设置图表的宽高还是有效 HOT 1
- DonutChart的onRingClick事件该如何触发
- react 兼容版本能提升至 17.+ 吗?做个多版本兼容行吗?
- 时间类型的x轴,刻度显示的值错误
- Interval组件动态修改adjust属性视图不更新
- v4版本的Legend如何实现基于html的自定义
- Issue with Chart Visualization in React/Next.js Project Using StrictMode HOT 1
- @antv/g2 已经发布了新的大版本v5,请问是否有支持的计划?
- uglify-js:2.8.29 ,ansi-regex:2.1.1, inflight:1.0.6 ,扫描到这三个组件存在高危漏洞,请问近期有修复计划吗?
- 基础饼图的label怎么改成蜘蛛Label形式
- Scale配置中,linear类型下属性minTickInterval 设置不生效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bizcharts.