ivnsch / SwiftCharts

Easy to use and highly customizable charts library for iOS
Apache License 2.0
2.53k stars 410 forks source link

What's the correct way to set contentView background color and border? #405

Open ryanmeisters opened 4 years ago

ryanmeisters commented 4 years ago

Thanks for a cool library!

What is the correct way to set background color, border and corner radius on the inner content of the chart? I tried setting background color of contentView, drawersContentView, and containerView, but all of those are in front of the guides. Is it correct that guides are being draw into the main chart view?

e.g. here is what i'm going for

image image
barbestack commented 2 years ago

Would love to have an answer for this as well. Looking for a different background color for the graph area only. Not the entire chart that includes the axes and labels.