Multiplied axes.

Charts for WPF Forum

Posted 5 years ago by adam
Version: 14.1.0602
Avatar

Hello,

 

If I add some data to the chart at the runtime, my Y axes are getting multiplied.

Maximum and minimum values for both axes are set respectively.

Here's screenshot of how it looks like, https://dyp.im/u8sNWsi0jB

I can provide you sample project.

 

Thank you,

Adam

[Modified 5 years ago]

Comments (5)

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Adam,

Each series, if added at runtime after the chart was already created, may be trying to generate a new axis.  In that scenario, I believe that if you specifically set the series' XAxis and YAxis properties to the appropriate existing axes that are in the XYChart.XAxes and XYChart.YAxes collections, then that should solve the problem.  Please give that a try and let us know the results.


Actipro Software Support

Posted 5 years ago by adam
Avatar

Hello,

I have applied your suggestions, everything is created in code-behind (chart, axes, data series), and unfortunately I get the same result:(

Cheers,

Adam

[Modified 5 years ago]

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Adam,

Ok in that case, can you please make a new simple sample project that shows the issue and email that to our support address?  Reference this thread and be sure to rename the .zip file extension so it doesn't get spam blocked.  We will debug the issue and see what's going on.  Thanks!


Actipro Software Support

Answer - Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Adam,

Thanks for the sample.  We found the problem where the existing cached axis wasn't getting reused in the scenario you show in the sample.  We've fixed it for the upcoming version, which should be out by mid-September.


Actipro Software Support

Posted 5 years ago by adam
Avatar

Thank you for the fast response.

The latest build of this product (v2018.1 build 0675) was released 13 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.