-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display single point in line chart #462
Comments
It seem this is a bug, because point does get rendered, but the grid for some reason is not, and since you can not display points in lines by default, you can not see it. You can put the data in activeEntries and you'll se that point is there but everything else is missing. But on the other hand, one point "line" is not a viable line, so this could potentially be expected behaviour. |
I noticed that if you set |
See solution of #467 |
I used solution of #467 but unable to get the result or persists circle |
I used stroke-width and stroke-linecap after the chart has been displayed. Assume the third line of your chart consists of a single data point. Then you can it display as follows:
|
@FrankL-git that works great, thanks! I added that answer to the SO post here as well- https://stackoverflow.com/a/69193173/228369 |
I have posted a way simpler answer on the above SO post here: https://stackoverflow.com/a/75131314/9286991 |
@ppratikcr7 this soultion does not work , could You please provide some more precise example? |
Can anyone suggest method to change color of dot for individual dot displayed in this ngx-line chart? |
I'm submitting a ... (check one with "x")
Current behavior
How can I display a single point in a line chart? Sorry if this isn't the correct place for this question but I can't find another one.
Expected behavior
Improve documentation with this topic.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: