@@ -48,7 +48,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
48 | 48 | QStringList categories; |
|
49 | 49 | categories << "Jan" << "Feb" << "Mar" << "Apr" << "May" << "Jun"; |
|
50 | 50 | axisX->append(categories); |
|
51 | chartView->chart()->setAxisX(series, axisX); | |
|
51 | axisX->setRange("Feb", "May"); | |
|
52 | chartView->chart()->setAxisX(axisX, series); | |
|
52 | 53 | \endcode |
|
53 | 54 | */ |
|
54 | 55 |
@@ -46,7 +46,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
46 | 46 | axisX->append("First", 20); |
|
47 | 47 | axisX->append("Second", 37); |
|
48 | 48 | axisX->append("Third", 52); |
|
49 |
chartView->chart()->setAxisX( |
|
|
49 | chartView->chart()->setAxisX(axisX, series); | |
|
50 | 50 | \endcode |
|
51 | 51 | */ |
|
52 | 52 | /*! |
General Comments 0
You need to be logged in to leave comments.
Login now