Skip to content

坐标轴范围问题 #3

@yyesir

Description

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

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

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