Skip to content
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

We see the border of the filled line when it cover anoth #9657

Closed
constantinje opened this issue Sep 17, 2021 · 4 comments
Closed

We see the border of the filled line when it cover anoth #9657

constantinje opened this issue Sep 17, 2021 · 4 comments

Comments

@constantinje
Copy link

Expected Behavior

When we create a filled line chart we don't want to have the border of the covered line

Current Behavior

We see the border of the filled line when it cover another

Possible Solution

Cover all the filled line on the z-index position or add a feature to create bar chart without space between bar

Steps to Reproduce

https://codepen.io/constantinje/pen/bGRLdYP

Context

I need to create a chart for the geotype of sediment on a geoprofil

Environment

@kurkle
Copy link
Member

kurkle commented Sep 17, 2021

Working as designed.

For bar charts, you can set categoryPercentage and barPercentage to 1 to remove the gaps.
https://codepen.io/kurkle/pen/abwqvER

For lines, you could just remove the border (borderWidth: 0)?

@constantinje
Copy link
Author

I cant use barchart like this because I cant put different width according to the X axis and removing the gaps at the same time (see the usage on the website link).
Removing border remove the border on the top of the line (horizontal to the x axis) and not on the vertical lines appearing on my exemple.
The best solution will be using one stepped line for each represented geotype layer but for that I need to change the object received by an external api and it cause very bad time performance.
Exemple : http://docker69882-deep-city-api.jcloud-ver-jpc.ik-server.com/extract/profile/2583237/1104588/2582692/1103852

@kurkle
Copy link
Member

kurkle commented Sep 17, 2021

Sorry, are you talking about the grid line?:
image

@etimberg
Copy link
Member

Closing as stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants