Comments (13)
@FriendsA It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
[Bug] xAxis sets category, when there are many data points, there are thousands, and the data before and after is incomplete
from echarts.
Your data contains a large number of null
values at start and end. The property connectNulls interpolates the line if inbetween two datapoints there are null
values. In Your case there is no datapoint to connect to in the beginning. You could add an auxiliary point at the beginning to combat that. Additionally, when zooming in, all data points outside of the view are filtered out which leads to the same problem. You can add filterMode 'none'
to not filter out data but this will slow down performance.
from echarts.
Your data contains a large number of
null
values at start and end. The property connectNulls interpolates the line if inbetween two datapoints there arenull
values. In Your case there is no datapoint to connect to in the beginning. You could add an auxiliary point at the beginning to combat that. Additionally, when zooming in, all data points outside of the view are filtered out which leads to the same problem. You can add filterMode'none'
to not filter out data but this will slow down performance.
thinks for your help! you can hidden the line which have null
data and leave the other complete line only,it also can not display the last point which the date at 2022-09-26. I want it can display last point on chart!
from echarts.
it also can not display the last point which the date at 2022-09-26.
The last point is displayed. Only if you zoom into the area which contains null
values the line is not shown which can be fixed with filterMode: 'none'
.
Did you apply the suggestions i gave?
from echarts.
it also can not display the last point which the date at 2022-09-26.
The last point is displayed. Only if you zoom into the area which contains
null
values the line is not shown which can be fixed withfilterMode: 'none'
.Did you apply the suggestions i gave?
yes ,i try.If I'm not mistaken i think What you mean is to add a configuration filterMode: 'none'
, I fixed the example. https://codepen.io/FriendsA/pen/VwNZxmw
do you mean like this? or can you fix this configuration file and reply to me?so I can understand it directly
from echarts.
This looks good to me.
What issue do you still have?
from echarts.
This looks good to me.
What issue do you still have?
it is still lost last point to me.
from echarts.
You just cant hover over it in the small view (since there are more data points than pixels). If you increase the width or zoom in you will see that it is present.
from echarts.
You just cant hover over it in the small view (since there are more data points than pixels). If you increase the width or zoom in you will see that it is present.
yes,but just on both sides has,so i think it is a bug. anyway, your help is greatly appreciated!
from echarts.
I dont understand, sry.
from echarts.
I dont understand, sry.
what I mean is that this phenomenon only appears at both ends of the chart. It should be a bug.
from echarts.
It does not only appear on both ends. If you hover through the data the tooltip will skip a lot of points
from echarts.
#main {
width: 1500px;
height: 400px;
border: 1px solid red;
}
因为描点太多,宽度像素不够,会导致tooltip跳过某些点导致显示不出来,把宽度调宽点就可以了。
from echarts.
Related Issues (20)
- Toggle web charts to hide problems HOT 1
- [Bug] After switching between browser tabs multiple times, the ECharts chart will be lost when returning to the chart page. HOT 1
- [Bug] chrome@109,[email protected]和[email protected]散点图坐标系消失 HOT 10
- [Feature] treemap value: 0 need visible
- [Bug] Tooltip with renderMode: 'richText' does not apply rich styling to formatter. HOT 1
- [Bug] This chart cannot be filled with cell width after alignTicks is set HOT 1
- [Feature] Pie Chart Label Position, require hybrid way of label positioning in labelLayout
- [Feature] Legend text color HOT 1
- [Feature] Lock one side of the dataZoom slider
- [Bug] The detail value is below the gauge HOT 3
- [Bug] Bar Chart bars overflow out of the coordinate system HOT 4
- [Bug] Echarts地图加载自定义地图展示时,在V4.8以V5.1表现不同,V5.1出现名称位移到左上角 HOT 3
- [Feature] Add
- [Bug] OKLCH css color blocks blink when mouse hover HOT 1
- [Feature] 图说要闭站了. 希望能出一款官方的全面的支持新版本特性的可视化编辑设置工具. HOT 1
- [Bug] Odd behavior when using dataZoom with x and y axes not specify min and max values
- [Feature] Controlling visibility of Gauge Start/End labels
- Overlapping labels in xAxis with type="time" HOT 1
- [Bug] candlestick in combination with scatter / bar and datazoom causes rendering issues
- [Question] Custom category chart with type='time' doesn't show tooltip HOT 3
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 echarts.