Hey guys,
i’m evaluating some wpf chart frameworks for our company.
Our goal is to get a heatmap with a custom image as background (e.g. a sports ground). Is there any possibility to achive this goal with scichart?
thx
Daniel
- schulz.d asked 10 years ago
- You must login to post comments
Hi there,
Interesting requirement you have there! Yes I think you can do this. Try using a Custom Annotation. The Create Annotations Dynamically example shows how to insert an image inside a CustomAnnotation type.
- You will need to set CoordinateMode = CoordinateMode.Relative, AnnotationCanvas = AnnotationCanvas.BelowChart and X1, Y1 = 0.
- You will also need to listen to SizeChanged events of the parent SciChartSurface and resize the CustomAnnotation (width, height) to fit.
- Ensure your CustomAnnotation.Width matches the SciChartSurface.ModifierSurface.Width and CustomAnnotation.Height matches the SciChartSurface.ModifierSurface.Height.
Thanks!
Andrew
- Andrew Burnett-Thompson answered 10 years ago
-
Thanks for your fast reply. I will have a try and let you know how it works.
-
Hey Andrew, thanks for the help. the suggested way works well and is easy to implement. I still have another question on the topic. Is there any way to get the zero values in the heatmap as transparent cells. Thx
- You must login to post comments
Please login first to submit.