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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adornment from code C#

Thread ID:

Created:

Updated:

Platform:

Replies:

121755 Jan 21,2016 04:56 PM UTC Jan 22,2016 12:58 PM UTC WPF 1
loading
Tags: SfChart
Tomas Raziel Garza Amaya
Asked On January 21, 2016 04:56 PM UTC

I want to create series since C# with adornmentsInfo, my problem isn't how to create the serie, my problem is how to reference the adornments with properties.

With this, I want to extract database information and create a serie for each extracted value, but my problem for the moment are the adornments.

Thanks for the help.

Sumathi Jayaraj [Syncfusion]
Replied On January 22, 2016 12:58 PM UTC

Hi Tomas,

Thanks for contacting Syncfusion support.

We can refer the adornment’s properties with the instance of ChartAdornmentsInfo. We can set the properties as defined in the below code sample.

Code snippet[C#]:



ColumnSeries series = new ColumnSeries();

ChartAdornmentInfo adornmentInfo = new ChartAdornmentInfo()

{

    ShowMarker = true,

    ShowLabel = true,

    Symbol = ChartSymbol.Ellipse
};
series.AdornmentsInfo = adornmentInfo;



We have prepared a sample for your requirements and please find the attachment.

Sample: 
ChartAdornmentSample

Regards,
Sumathi J


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

;