We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Strip Line

Thread ID:

Created:

Updated:

Platform:

Replies:

73713 May 15,2008 11:59 AM UTC Jun 17,2008 12:41 PM UTC WinForms 1
loading
Tags: Chart
Ravit Shem-Tov
Asked On May 15, 2008 11:59 AM UTC

Hello
i know i can draw a strip line , but i want the text to be outside the chart,at the end of the strip line (the strip line is all the axis long)

thank you


J.Nagarajan [Syncfusion]
Replied On June 17, 2008 12:41 PM UTC

Hi Ravit ,

The text of the Strip line should not be rendered out side of the chart region. You can align the text with in the chart region by using TextAlignment property. Please refer to the following code snippet.

ChartStripLine stripLine = new ChartStripLine();
stripLine.Vertical = false;
stripLine.Text =" ChartStripLine";
stripLine.TextAlignment = ContentAlignment.TopCenter;
this.chartControl1.PrimaryXAxis.StripLines.Add(stripLine);

Please let me know if this helps.

Thanks,
Nagaraj


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;