Comments (4)
参看 #18
from wx-charts.
配置的时候已经配置了
xAxis: {
disableGrid: true
}
但是没用,我的数据在上千个。有办法不显示X轴标注吗?或者X轴是一个区间
from wx-charts.
@mengzhimin2011 确保你更新了最新版本的代码,X轴现在不会出现文案重叠的情况,上千的数据X轴也不会有问题
如果要加上隐藏X轴的配置会觉得很怪,如果没有X轴应该不叫图表工具,叫折线图了
当然针对你的情况:
如果你的数据有上千个,折线看上去应该会很怪,挤到一起了,最好你要做一下分类,不要全部一下交给图表工具来处理,根据不同的条件动态的调用(可以针对同一个canvas多次调用)
new wxCharts()
from wx-charts.
如果你有强烈的需求不显示X轴,可以这样配置
categories: ['', '', '', ...],
xAxis: {
disableGrid: true
}
from wx-charts.
Related Issues (20)
- canvas绘图区权重过高?吸顶的导航头无法覆盖绘图区。。 HOT 1
- 自定义组件不能使用
- y轴数值可以倒叙么,负值在上,正值在下 HOT 1
- 绘制完成生成图片 HOT 1
- 大佬,关于在自定义组件中实现绘图 HOT 1
- x轴支持变成时间轴么? HOT 1
- 类别标识可以显示在图表上方吗
- 如何去掉背景中的横线 HOT 1
- 堆积面积图可以渐变吗? HOT 1
- 柱状图和折线图组合展示
- 基于wx-charts改造的uCharts,增加圆弧进度图、仪表盘、K线图、条状图、混合图、玫瑰图、漏斗图、词云图、时序图、散点图、气泡图、地图,支持多Y轴,支持在线工具可视化配置。
- 1
- 请问柱状图中支持堆栈式的柱状图吗?
- 数据刷新
- Canves内容如何居中(PieChart圆饼图)
- 4年没更新了,大佬能更新一个漏斗图不
- 两百条数据就成这样了 HOT 2
- 组件中使用 HOT 2
- 数据太多如何显示全
- 有支持canvas 2d版本的吗
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 wx-charts.