Giter Club home page Giter Club logo

Comments (13)

echarts-bot avatar echarts-bot commented on June 15, 2024

@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.

MatthiasMert avatar MatthiasMert commented on June 15, 2024

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.

Example

from echarts.

FriendsA avatar FriendsA commented on June 15, 2024

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.

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.

MatthiasMert avatar MatthiasMert commented on June 15, 2024

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.

FriendsA avatar FriendsA commented on June 15, 2024

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?

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
Uploading Snipaste_2024-02-28_16-29-14.png…

from echarts.

MatthiasMert avatar MatthiasMert commented on June 15, 2024

This looks good to me.

What issue do you still have?

from echarts.

FriendsA avatar FriendsA commented on June 15, 2024

This looks good to me.

What issue do you still have?

it is still lost last point to me.
Snipaste_2024-02-28_16-29-14

from echarts.

MatthiasMert avatar MatthiasMert commented on June 15, 2024

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.

FriendsA avatar FriendsA commented on June 15, 2024

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.

MatthiasMert avatar MatthiasMert commented on June 15, 2024

I dont understand, sry.

from echarts.

FriendsA avatar FriendsA commented on June 15, 2024

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.

MatthiasMert avatar MatthiasMert commented on June 15, 2024

It does not only appear on both ends. If you hover through the data the tooltip will skip a lot of points

from echarts.

miracleren avatar miracleren commented on June 15, 2024

#main {
width: 1500px;
height: 400px;
border: 1px solid red;
}

因为描点太多,宽度像素不够,会导致tooltip跳过某些点导致显示不出来,把宽度调宽点就可以了。

from echarts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.