diff options
Diffstat (limited to 'sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst')
-rw-r--r-- | sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst b/sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst deleted file mode 100644 index 8ebdd2b08..000000000 --- a/sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst +++ /dev/null @@ -1,25 +0,0 @@ -Chapter 6 - Plot the data in the ChartView -=========================================== - -The last step of this tutorial is to plot the CSV data inside our QChart. For -this, you need to go over our data and include the data on a QLineSeries. - -After adding the data to the series, you can modify the axis to properly -display the QDateTime on the X-axis, and the magnitude values on the Y-axis. - -Here is the updated :code:`main_widget.py` that includes an additional -function to plot data using a QLineSeries: - -.. literalinclude:: datavisualize6/main_widget.py - :language: python - :linenos: - :lines: 40- - :emphasize-lines: 33,56-91 - -Now, run the application to visualize the earthquake magnitudes -data at different times. - -.. image:: images/datavisualization_app.png - -Try modifying the sources to get different output. For example, you could try -to plot more data from the CSV. |