Page 1 of 1

XAxes MajorGrid Line Center

Posted: Thu May 10, 2018 7:24 am
by ChanY
Hello,


I want the vertical axis to be centered on the MajorGrid shown in the chart. Do you know any of these features?

Image

Re: XAxes MajorGrid Line Center

Posted: Fri May 11, 2018 9:26 am
by ArctionKestutis
Hi,
You could place Y Axis as percents of the graph width. For that you need to disable YAxisAutoPlacement and set Position. That is, 0 sets the axis in left edge, 50 in the middle and 100 in right edge.

Code: Select all

ViewXY.AxisLayout.YAxisAutoPlacement = YAxisAutoPlacement.Off;
axisY.Position = 50;
Hope this helps.
All the best.

Re: XAxes MajorGrid Line Center

Posted: Mon May 14, 2018 1:58 am
by ChanY
Thank you for your reply.
But what I want is to have the position of the MajorGrid unconditionally centered, not the position of the Axis. If you know anything, please reply.

Re: XAxes MajorGrid Line Center

Posted: Mon May 14, 2018 4:41 am
by ChanY
ArctionKestutis wrote:Hi,
You could place Y Axis as percents of the graph width. For that you need to disable YAxisAutoPlacement and set Position. That is, 0 sets the axis in left edge, 50 in the middle and 100 in right edge.

Code: Select all

ViewXY.AxisLayout.YAxisAutoPlacement = YAxisAutoPlacement.Off;
axisY.Position = 50;
Hope this helps.
All the best.

Re: XAxes MajorGrid Line Center

Posted: Mon May 14, 2018 6:25 am
by ArctionKestutis
Hello,
I don't see your image and description was not enough to understand your wish. Could you try again to add image and add more description. Perhaps you interested in CustomTicks, check those key words in User's Manual and Demo App.
P.S. You can send your question directly to Support email account as well.
All the best.

Re: XAxes MajorGrid Line Center

Posted: Tue May 15, 2018 6:35 am
by ChanY
Thanks for the answer.
I'm sorry I do not have enough explanation. What I want to do is refresh the data on the chart at different frequencies in real time.
However, I would like to have a vertical gray line (MajorGird) generated based on the median value on a screen that is always being refreshed, as shown above.

Re: XAxes MajorGrid Line Center

Posted: Tue May 15, 2018 7:11 am
by ArctionKestutis
Hi Chan,
As I wrote, I don't see the image. Therefore, this make interpretation of your question very difficult. Could you try to upload the file again, or send to Arction's support email account.
All the best.