Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid from setAxisX/Y #1

Open
martonmiklos opened this issue Feb 18, 2019 · 2 comments
Open

Get rid from setAxisX/Y #1

martonmiklos opened this issue Feb 18, 2019 · 2 comments

Comments

@martonmiklos
Copy link
Contributor

martonmiklos commented Feb 18, 2019

ui->zoomableChartWidget->chart()->setAxisX(m_axisX, newSeries);

Change it to mChart->axes(Qt::Vertical, mSeriesList.at(i)).append(mAxisY); as it is going to be deprecated in Qt 5.13

@martonmiklos
Copy link
Contributor Author

(\s*.*)->setAxisY\((.*),\s*(.*)\); -> $1->axes(Qt::Vertical, $3).append($2);

and
(\s*.*)->setAxisX\((.*),\s*(.*)\); -> $1->axes(Qt::Horizontal, $3).append($2);

@martonmiklos
Copy link
Contributor Author

QLineSeries::attachAxis should be used...

@martonmiklos martonmiklos reopened this Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant