Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

But I’m not getting the results I hoped for with this. The test is still not resizing with the surface. Since it’s been a while that a question was asked about this, maybe there are new methods to do this in Scichart?

I decided to go with LayoutTransform because creating a controltemplate didn’t work for me for some reason and it put a background on the annotation and I couldn’t find what property was controlling it.

you might notice that it “hides” the text when the graph is too small. You also have to give this a “desired size” in pixels where it shouldn’t apply any scale transforms (that’s what scale = 1 does) so it prevents the text to become too big. You might also notice that the sizing is uniform in this case, but if you are ok with a non uniform resizing, just bind ScaleY to the ActualHeight with the converter instead of ScaleX’s value. You also might need to hold the desired size of the height in the converter as well, that’s one of the setbacks of this approach but it’s acceptable in my case.

Thank you for your inquiry. There isn’t any inbuilt way to get font size adjusted now as well, because this has not been often asked for and a workaround exists. Alternatively, you could achieve the same using the BoxAnnotation, which can be anchored by 4 corners and has a simpler template:

Good idea. Another idea is use TextAnnotation.LayoutTransform with a ScaleTransform. However, this would require knowing a scale factor (difficult to compute for X and Y Axis). There's about 3 ways to achieve this, it's going to require some research you on your part. If you do find a good solution, please post it as answer! This will help our forums stay current! Thanks! Andrew