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

Misplaced annotation when applying NumericalAxis on FastLineSeries. Bug?

Thread ID:

Created:

Updated:

Platform:

Replies:

123499 Mar 23,2016 09:27 AM UTC Apr 15,2016 05:34 PM UTC UWP 3
loading
Tags: SfChart
Simon Graf
Asked On March 23, 2016 09:27 AM UTC

Hi,
thank you very much for providing me with the syncfusion toolkit for drawing charts.
I am trying to add an annotation to a sfchart control carrying a series having custom numerical axis.
Is this a bug or am I doing somethung wrong?
Expected:
 Expected
Obtained:
Obtained
How to reproduce: Remove the Folowing lines from the following code:
Lines to remove:
this.fastlineSeries.XAxis = xAxis;
this.fastlineSeries.YAxis = yAxis;
Code:
namespace test1
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class MainPage : Page
    {
        private SfChart chart = new SfChart();
        private FastLineSeries fastlineSeries = new FastLineSeries();

        public MainPage()
        {
            this.InitializeComponent();
        }

        private void button_Click(object sender, RoutedEventArgs e)
        {
            TextAnnotation textAnnotation = new TextAnnotation();
            textAnnotation.CoordinateUnit = CoordinateUnit.Axis;
            textAnnotation.X1 = 0.5;
            textAnnotation.Y1 = 0.5;
            textAnnotation.Text = "symbol";
            textAnnotation.FontSize = 16;
            chart.Annotations.Add(textAnnotation);

        }

        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            NumericalAxis xAxis = new NumericalAxis();
            NumericalAxis yAxis = new NumericalAxis();
            this.fastlineSeries.XAxis = xAxis;
            this.fastlineSeries.YAxis = yAxis;
            this.chart.Series.Add(this.fastlineSeries);
            this.chartGrid.Children.Add(chart);
        }
    }
}


The whole solution is attached as Zip-File.
Any ideas? 
Thank you!


Attachment: test1_ce573e83.zip

Rachel A [Syncfusion]
Replied On March 24, 2016 06:57 AM UTC

Hi Simon,

Thanks for contacting Syncfusion Support.

We considered “Text Annotation is positioned wrongly, when fastlineseries x and y axis alone defined” as a defect and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
 
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Regards,
Rachel A.

Simon Graf
Replied On April 14, 2016 02:24 PM UTC

Hi,
just for the record: Syncfusion released a patch which fixes this issue.
Thank you, Syncfusion, for your kind support,
Simon

Samuel Rajadurai Edwin Rajamanickam [Syncfusion]
Replied On April 15, 2016 05:34 PM UTC

Hi Simon,

Thank you for the update.

We would like to inform that the reported issue will be resolved in the upcoming service pack for volume 1, which is expected to available on end of this April.

Please let us know, if you need any further assistance.

Thanks,
 Samuel

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

;