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

Grid background color extends beyond data sets #3572

Closed
ArunRajasekhar84 opened this issue Jul 20, 2018 · 2 comments
Closed

Grid background color extends beyond data sets #3572

ArunRajasekhar84 opened this issue Jul 20, 2018 · 2 comments

Comments

@ArunRajasekhar84
Copy link

ArunRajasekhar84 commented Jul 20, 2018

What did you do?

I had created a line graph with two data sets and brought a color within the range of two graphs. That works perfectly fine. But for range outside the data point the background color spreads the graph (as in image below).
screen shot 2018-07-20 at 4 56 07 pm

What did you expect to happen?

Is there a way to change the background color of grid outside the data set ? I would like the background color only within the data sets

What happened instead?

As if now the background color of grid expands outside data sets

Charts Environment

Charts version/Branch/Commit Number: 3.1.0
Xcode version: 9.4
Swift version: 4.2
Platform(s) running Charts: Mac OS
macOS version running Xcode: 10.13.4

Demo Project

The code is not available public as if now. Let me know if I can help you with code snippet.

@liuxuan30
Copy link
Member

liuxuan30 commented Jul 24, 2018

I'm not sure what you try to say. But the background is within the chart view.

And from your screnshot, I don't think it's just a "background" color? Seems you are filling the area between the lines, but somehow after the last point, it become a normal rect.

@ArunRajasekhar84
Copy link
Author

ArunRajasekhar84 commented Jul 24, 2018 via email

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

No branches or pull requests

2 participants