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.
Unfortunately, activation email could not send to your email. Please try again.

Strip Line

Thread ID:

Created:

Updated:

Platform:

Replies:

73713 May 15,2008 07:59 AM Jun 17,2008 08:41 AM Windows Forms 1
loading
Tags: Chart
Ravit Shem-Tov
Asked On May 15, 2008 07:59 AM

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 08:41 AM

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.

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.

;