for the XamDataChart, what if I need to add more than one YAXis, like one for pressure (left side), one for temperature (right side). How to achieve this? also add the description of the YAXis (pressure or temperature)?
Thanks,
Joan
Hello Joan,
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on the mater.
Thank you for the post. I it normal when you have two Y axis to have two scales. One scale for each axis. I have modified the previous sample I have sent. In the modified sample I have added a button. On the click event of the button I am hiding the right Y axis. From the sample you can see that when the right Y axis is hidden the strokes are hidden together with the axis.Please find the attached sample and feel free to let me know if you have any further questions on the mater.
xamChart is the xamDataChart. the grid I mean is the scale grid which is drawn by majorstorkethickness and minorstrokethickness.
Thank you for the post. I have been looking into it and I am not sure I understand you scenario. How is the grid you mentioned related with the chart and what chart are you using? In you first post you mentioned xamDataChart and in the last - xamChart. Having the answers to those questions will help me understand your scenario better. Thank you in advance for the cooperation.
I have attached a small sample, named SecondaryYAxis.zip, would you please modify the attached sample with your functionality in order for me to be able to reproduce your issue and provide you with better support. I am looking forward to your post.
Thank you! Set lineseries1.YAxis = xmYRightAxis works.
but now I have 2 sets of Grid on the chart since there are different ranges for the YAxis.
I tried to set the MajorStrokeThickness="0" to one of the YAxis, but then if the other YAxis is not show, none of grid is shown.
Is there an easy way to let xamChart do that?