Pre loader

Double Y axis titles

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
1

Hi,

we recently updated SciChart to 8.3.0.28019 and now we got an issue with double y axis title.
They should only be on the left side. Any ideas what could have caused this? I have also attached the definition of the axis, hopefully this helps.

 vm.YAxes.Add(new NumericAxisViewModel
 {
     Id = YNumericAxis,
     StyleKey = YAxisStyleKey,
     AxisTitle = vm.YAxisTitle,
     FontSize = groupViewOptions.AxisLabelFontSize,
     TitleFontSize = groupViewOptions.AxisTitleFontSize,
     DrawMinorGridLines = false,
     DrawLabels = true,
     CursorTextFormatting = "0.###",
     TextFormatting = "0.########"
 });
vm.YAxes.Add(new LogarithmicNumericAxisViewModel()
{
    Id = YLogAxis,
    StyleKey = YAxisStyleKey,
    AxisTitle = vm.YAxisTitle,
    FontSize = groupViewOptions.AxisLabelFontSize,
    TitleFontSize = groupViewOptions.AxisTitleFontSize,
    DrawMinorGridLines = false,
    DrawLabels = true,
    TextFormatting = "0.0###E0",
    CursorTextFormatting = "0.000E0",
    EnableHighPrecisionTicks = groupViewOptions.EnableHighPrecisionTicks
});

Yes, there are two axis’s defined and if I try to change the visibility of the one that is active, both axis title’s disappear. What do you think could be the cause of this? I did some research thru the structure and didn’t have any luck.

Thanks in advance.
Boštjan

Version
8.3.0.28019
Images
  • Andrew Burnett-Thompson
    Hi Boštjan, the only way an axis title appears on the left and right is if you have two Y-Axis configured. Screenshot of code is not helpful (please provide real code). Also, the screenshot shows X-Axis (not related to the Y-axis titles). Can you update the question?
  • Boštjan Arzenšek
    Hi Andrew, question updated. Thanks in advance.
  • Boštjan Arzenšek
    Hi Andrew again, I have tested with different version and the 8.1.0.27856 is the last version where this still works. With the version 8.2.0.27935 I get an exception “Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.” but that is a different story. Hope this helps Kind regards, Boštjan
  • Lex
    • Lex
    • 3 months ago
    Hi Boštjan, Thank you for updating your post. Unfortunately, the code sample you’ve shared is not enough to reproduce the reported issue on our side. It would be helpful if you attached a small sample project reproducing the reported issue for investigation. Thanks in advance. Lex S., MSEE SciChart Technical Support Engineer
  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.