SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
Hi everyone,
What would be the easiest way of shading all vertical bands for weekend days? I’ve got two ideas:
Problem with 2nd option is that annotations are rendered over the chart (screenshot attached). Is there a way of sending them behind columns?
Thanks,
Igor
Good day
If you achieved desired look with box annotations try setting the following property:
boxAnnotation.style.layer = SCIAnnotationLayer_Underlay;
btw, you can achieve the same by creating subclass of SCIDateTimeAxis and override method
-(void)drawBandsWithContext:(id <SCIRenderContext2DProtocol>)renderContext
In that case you will have to draw bands manually using our drawing context.
Best regards
Andrii
SciChart iOS Developer
Please login first to submit.