C1Chart curve with AxisY-Property set got invisible on zooming

Posted by: maik.haenel on 30 July 2019, 10:14 pm EST

    • Post Options:
    • Link

    Posted 30 July 2019, 10:14 pm EST

    Hello,

    i use ComponentOne WPF version 2018.1 and VS2015. and got a problem on zooming with C1Chart.

    If i set the AxisY Property of XYDataSeries to a String (for example “Test”) the same as the axis.Name Property also set to “Test”. The curve got sometimes invisible on zooming. Especially if i zoom a plateau in a dataSeries curve.

    It is possible to assign a XYDataSeries to a Y-Axis without the YAxis/Name properties?

    In my chart there are different dataseries with multiply y-axis. If I only use one main Yaxis without the name-Property set. The problem doesn’t occur.

    
    
    axis = new Axis();
    axis.Name = "Test";
    c1chart.View.AxisY = axis;
    
    XYDataSeries ds = new XYDataSeries();
    ds.XValuesSource = x;
    ds.ValuesSource = y;
    ds.AxisY = "Test"; // Problem arise here!
    
    

    See example project.TestInvisibleCurve.zip[img]https://gccontent.blob.core.windows.net/forum-uploads/file-c801ffd4-beb5-4f1b-a83e-3bb0354d2314.png[/img][img]https://gccontent.blob.core.windows.net/forum-uploads/file-6a2260f3-79ab-4b01-b6ad-b81280d91682.png[/img][img]https://gccontent.blob.core.windows.net/forum-uploads/file-1a5026dc-ce02-4206-ad2d-26ff6b1ef58e.png[/img]

  • Posted 31 July 2019, 6:13 pm EST - Updated 4 October 2022, 12:04 am EST

    Hi Maik,

    Thanks for sharing the sample however, I could not observe the issue at my end(see attached gif).



    Also, specifying the axis name is the only possible way to provide Axis for a Series. So, I would request you to verify the sample again and let me know If I need to make some changes in the sample to reproduce the issue.

    Also, does the issue occur each time when zooming a plateau in the chart?

    Thanks,

    Basant

  • Posted 1 August 2019, 7:57 pm EST

    Thank you for your reply.

    the issue arise only on a very high zoom level(if one can see the up and lows on the plateau) and not every time. I made a new video and transformed it in a gif Image(sorry for bad quality) to demonstrate the issue. I used the STRG + Mousewheel to zoom the up and downs on the plateau to get the invisible effect.

    Greetings Maik

  • Posted 4 August 2019, 5:30 pm EST

    Hi Maik,

    Thanks for providing the gif Image. I could observe the issue with 17v3 or earlier but not with the 18v1(4.0.20181.588) or later. However, as you said you are using 18v1 so, just to be sure can you please share the full version information? Or, if possible, I would request you to verify the issue with the 18v1.588 build (http://prerelease.componentone.com/dotnet40/c1wpflibrary/2018-T1/C1WPFBasicLibrary.4_4.0.20181.588.zip) and share your observations.

    Thanks & Regards,

    Basant

  • Posted 4 August 2019, 10:59 pm EST

    Hello…

    i checked my version and detected that i only have (2017.1) 4.0.20171.549… I’ll ask my IT-Support if they’ve a newer version.

    Thank you for your help.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels