BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
// Sets MaximumValue of SecondaryValueAxis chart.SecondaryValueAxis.MaximumValue = 10; // Sets MinimumValue of SecondaryValueAxis chart.SecondaryValueAxis.MinimumValue = 0; // Sets MajorUnit of SecondaryValueAxis chart.SecondaryValueAxis.MajorUnit = 2; |
Thanks Ramanan,
unfortunately that does not change it. I have attached a sample app (the same from the date issue). It produces this result:
Can it be a bug in the Portable package?
// Sets MaximumValue of SecondaryValueAxis chart.SecondaryValueAxis.MaximumValue = 10; // Sets MinimumValue of SecondaryValueAxis chart.SecondaryValueAxis.MinimumValue = 0; // Sets MajorUnit of SecondaryValueAxis chart.SecondaryValueAxis.MajorUnit = 2; |
Thank you for your patience.
I have this in my sample:
// Sets MaximumValue of SecondaryValueAxis.
chart.SecondaryValueAxis.MaximumValue = 9;
// Sets MinimumValue of SecondaryValueAxis.
chart.SecondaryValueAxis.MinimumValue = 1;
// Sets MajorUnit of SecondaryValueAxis.
chart.SecondaryValueAxis.MajorUnit = 2;
Which is pretty much the same. But also with your indicated code values 10 and 0 I get the same result.
Unfortunately there is an issue with your uploaded sample, it is not complete, their is no code included. Can you have a look please and provide another link, so I can try it?
Here is a screenshot with the suggest code and the result
Regards
Pieter
Screenshot provided on 8/6/2017 (Expected) |
Screenshot provided on 8/8/2017 (Output) |
|
|
Hi Ramanan,
Your understanding of the requirement is perfect.
As I said before, and can be seen in the last screenshot, I have implemented the suggested code, but this does not provide the result as expected.
I assume it normally does provide the result. In Word, when I make a change to the display of the secondary Axis, and then change it back to what it was before, the result is as expected. That is why I suspect there is a bug in the Portable version.
Attached a sample that generates the faulty output, including the code that you have provided.
Thanks
Pieter