@@ -48,7 +48,7 public: | |||||
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | QLogValueAxis *axisX= new QLogValueAxis(); |
|
50 | QLogValueAxis *axisX= new QLogValueAxis(); | |
51 |
axisX->setBase( |
|
51 | axisX->setBase(2); | |
52 | QValueAxis *axisY= new QValueAxis(); |
|
52 | QValueAxis *axisY= new QValueAxis(); | |
53 | foreach (QAbstractSeries *series, chart->series()) { |
|
53 | foreach (QAbstractSeries *series, chart->series()) { | |
54 | chart->setAxisX(axisX, series); |
|
54 | chart->setAxisX(axisX, series); |
@@ -47,7 +47,7 public: | |||||
47 | } |
|
47 | } | |
48 |
|
48 | |||
49 | QLogValueAxis *axisX= new QLogValueAxis(); |
|
49 | QLogValueAxis *axisX= new QLogValueAxis(); | |
50 |
axisX->setBase( |
|
50 | axisX->setBase(2); | |
51 | QLogValueAxis *axisY= new QLogValueAxis(); |
|
51 | QLogValueAxis *axisY= new QLogValueAxis(); | |
52 | axisY->setBase(2); |
|
52 | axisY->setBase(2); | |
53 | foreach (QAbstractSeries *series, chart->series()) { |
|
53 | foreach (QAbstractSeries *series, chart->series()) { |
@@ -48,7 +48,7 public: | |||||
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | QLogValueAxis *axisX= new QLogValueAxis(); |
|
50 | QLogValueAxis *axisX= new QLogValueAxis(); | |
51 |
axisX->setBase( |
|
51 | axisX->setBase(2); | |
52 | QValueAxis *axisY= new QValueAxis(); |
|
52 | QValueAxis *axisY= new QValueAxis(); | |
53 | foreach (QAbstractSeries *series, chart->series()) { |
|
53 | foreach (QAbstractSeries *series, chart->series()) { | |
54 | chart->setAxisX(axisX, series); |
|
54 | chart->setAxisX(axisX, series); |
@@ -47,7 +47,7 public: | |||||
47 | } |
|
47 | } | |
48 |
|
48 | |||
49 | QLogValueAxis *axisX= new QLogValueAxis(); |
|
49 | QLogValueAxis *axisX= new QLogValueAxis(); | |
50 |
axisX->setBase( |
|
50 | axisX->setBase(2); | |
51 | QLogValueAxis *axisY= new QLogValueAxis(); |
|
51 | QLogValueAxis *axisY= new QLogValueAxis(); | |
52 | axisY->setBase(2); |
|
52 | axisY->setBase(2); | |
53 | foreach (QAbstractSeries *series, chart->series()) { |
|
53 | foreach (QAbstractSeries *series, chart->series()) { |
@@ -48,7 +48,7 public: | |||||
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | QLogValueAxis *axisX= new QLogValueAxis(); |
|
50 | QLogValueAxis *axisX= new QLogValueAxis(); | |
51 |
axisX->setBase( |
|
51 | axisX->setBase(2); | |
52 | QValueAxis *axisY= new QValueAxis(); |
|
52 | QValueAxis *axisY= new QValueAxis(); | |
53 | foreach (QAbstractSeries *series, chart->series()) { |
|
53 | foreach (QAbstractSeries *series, chart->series()) { | |
54 | chart->setAxisX(axisX, series); |
|
54 | chart->setAxisX(axisX, series); |
General Comments 0
You need to be logged in to leave comments.
Login now