Comments (4)
- Bar(stack mode) + custom color + mark line
from pyecharts.
OK, thanks, but I can't find a parameter to set the line length in the MarkLineItem class。
`c = (
Bar()
.add_xaxis(Faker.choose())
.add_yaxis("商家A", Faker.values(), stack="stack1")
.add_yaxis("商家B", [[-i] for i in Faker.values()], stack="stack1",
markline_opts=opts.MarkLineOpts(
data=[
opts.MarkLineItem(x=Faker.choose()[0], y=50, name="最小值", symbol= None,
coord=[10])
]
),
)
.set_series_opts(label_opts=opts.LabelOpts(is_show=False),
)
.set_global_opts(title_opts=opts.TitleOpts(title="Bar-堆叠数据(全部)"))
.render("bar_stack0.html")
from pyecharts.
- https://gallery.pyecharts.org/#/Bar/bar_stack0
- The
markLine
may not set the length very well, but you can use different colors to implement your needs.
from pyecharts.
thanks
from pyecharts.
Related Issues (20)
- echarts中的DataZoom组件中有一个 zoomOnMouseWheel, 在pyecharts中是不支持的吗? HOT 3
- 什么时候能支持SVG格式的map? HOT 6
- emphasis_opts doesn't work in Bar3D HOT 4
- BarBackgroundStyleOpts中bar_border_radius不支持 HOT 3
- Timeline+添加不同数据的Geo会有混淆情况 HOT 8
- Jupyter notebook --> bar.render_notebook() 显示空白
- 绘制定位点x,y序列,折线图Line显示异常。 HOT 1
- 关系图旋转动画关闭无效 HOT 7
- Table的配置项不生效 HOT 2
- 如何把tooltips的内容动态更新到标题? HOT 2
- timeline pie legend HOT 4
- Graph图节点间的多边问题 HOT 2
- 官网无法访问?Jupyter中render_notebook() 图表无法显示 HOT 2
- pie饼图时,set_colors无法更改颜色 HOT 3
- 使用opts.PieItem定义Pie数据序列时,legend_opts无法同步数据 HOT 2
- gauge图的data_pair标签的属性在dark主题下无效。 HOT 2
- 使用带Timeline的Bar图时,会出现多个xaxis标签重复在一起 HOT 13
- Disable animations for specific elements only instead of the whole plot HOT 1
- 将词云图的html保存为png,运行成功但是png文件都是空 HOT 1
- 折线图无法正常显示 HOT 2
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 pyecharts.