From b0ebd6cb06c52bfc72e486d35c2aeeedb2a5a3e6 Mon Sep 17 00:00:00 2001 From: sakithya Date: Thu, 1 Jul 2021 13:02:56 +0530 Subject: [PATCH] chart auto fit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7559614..06b47ff 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# How-to-auto-fit-the-text-of-rectangle-annotation-in-WPF-Charts -This article explains how to auto resize [rectangle annotation](https://help.syncfusion.com/wpf/charts/annotations#rectangle-annotation) text in [WPF Chart](https://help.syncfusion.com/wpf/charts/getting-started). +# How to auto fit the text of rectangle annotation in WPF Charts +This article explains how to auto resize [rectangle annotation](https://help.syncfusion.com/wpf/charts/annotations#rectangle-annotation) text in [WPF Chart](https://www.syncfusion.com/wpf-controls/charts). For more reference, please refer this KB [link](https://www.syncfusion.com/kb/12283/?utm_medium=listing&utm_source=github-examples) Consider the use case to dynamically change the annotation text and desired to adjust annotation based on dynamically applied text as per in below - ![](output.gif) + ![WPF Chart Auto fit the text](output.gif) This has been achieved by changing the adjusted values X2 and Y2 values of annotation based on the measured applied text from TextBox to annotation as per in below code snippet -[XAML] +XAML ```