Skip to content

坐标轴范围问题 #3

Description

@yyesir
    //像素坐标转成实际的x,y轴的坐标
    float x_val = this->xAxis->pixelToCoord(x_pos);
    float y_val = this->yAxis->pixelToCoord(y_pos);

如果坐标轴为时间轴时,float类型需要改为double类型

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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