You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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.
The text was updated successfully, but these errors were encountered:
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.
Hello Daniel,
Thank you for reply. I was able to customise it as per my need using fill formatter and setting the background color of grid as white. Basically I used the fill formatter to cover up the area outside the range in white. And the output was as attached. Shall I close the ticket ?
Regards
Arun
On 24-Jul-2018, at 6:14 AM, Xuan ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3572 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Ab8QMmLTxPwJwyUHYJ4cwyq7N7m_R4Bjks5uJm3vgaJpZM4VX4sO>.
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).
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.
The text was updated successfully, but these errors were encountered: