Skip to content

[Question] How to fixed the Y-axis scaling #1952

@Jay-57blocks

Description

@Jay-57blocks

Hello,

Image

I want to know how to fixed the Y-axis scaling of a real-time waveform chart. By default, the Y-axis scaling is automatic. If I want to fixed it to minimize the waveform jumping up and down, what would you recommend doing?

Below is the possible code I found that needs to be changed, do you have any suggestions?

        private Axis[] CreateYAxis()
        {
            return new Axis[]
            {
                new Axis
                {

                          yAxis.MinLimit = -10000,
                          yAxis.MaxLimit = 10000,

                          OR

                          CustomSeparators = [-10000, 0, 10000]
                }
            };
        }

Looking forward to hearing from you, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions