[QGIS Commit] r10688 - in docs/trunk/english_us/user_guide: . plugins_diagram_overlay_images

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Apr 30 10:39:59 EDT 2009


Author: dassau
Date: 2009-04-30 10:39:59 -0400 (Thu, 30 Apr 2009)
New Revision: 10688

Added:
   docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/climate_diagram.png
   docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/diagram_tab.png
Modified:
   docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/Makefile
   docs/trunk/english_us/user_guide/working_with_vector.tex
Log:
added section about diagram overlay tab with an example 


Modified: docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/Makefile
===================================================================
--- docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/Makefile	2009-04-30 12:52:19 UTC (rev 10687)
+++ docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/Makefile	2009-04-30 14:39:59 UTC (rev 10688)
@@ -12,6 +12,8 @@
 #	nextfile.eps
 
 PNG=diagram_overlay.eps\
+    climate_diagram.eps\
+    diagram_tab.eps\
 
 	
 ##### TARGETS #####

Added: docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/climate_diagram.png
===================================================================
(Binary files differ)


Property changes on: docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/climate_diagram.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/diagram_tab.png
===================================================================
(Binary files differ)


Property changes on: docs/trunk/english_us/user_guide/plugins_diagram_overlay_images/diagram_tab.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: docs/trunk/english_us/user_guide/working_with_vector.tex
===================================================================
--- docs/trunk/english_us/user_guide/working_with_vector.tex	2009-04-30 12:52:19 UTC (rev 10687)
+++ docs/trunk/english_us/user_guide/working_with_vector.tex	2009-04-30 14:39:59 UTC (rev 10688)
@@ -833,16 +833,55 @@
 \subsubsection{Diagram Tab}\label{sec:diagram}
 \index{vector layers!diagram}
 
-Needs to be finished.
+The \tab{Diagram} tab allows you to add a grahic overlay to a vector layer.
+To activate this feature, open the Plugin Manager and select the Diagram Overlay' 
+plugin. After this, there is a new tab in the vector \dialog{Layer
+Properties} dialog where the settings for diagrams may be entered (see
+figure~\ref{fig:diagramtab}).
 
-The \tab{Diagram} tab allows you to add a grahic overlay to a vector layer.
-To activate this feature, open the plugin manager and select the 'Diagram Overlay' 
-plugin. After this, there is a new tab in the vector layer properties dialog 
-where the settings for diagrams may be entered.
+\begin{figure}[ht]
+   \begin{center}
+   \caption{Vector properties dialog with diagram tab \nixcaption}\label{fig:diagramtab}\smallskip
+   \includegraphics[clip=true, width=13cm]{diagram_tab}
+\end{center}
+\end{figure}
+
 The current implementation of diagrams provides support for pie- and barcharts
 and for linear scaling of the diagram size according to a classification
-attribute.
+attribute. We will demonstrate an example and overlay the alaska boundary
+layer a barchart diagramm showing some temperature data from a climate vector
+layer. Both vector layers are part of the QGIS sample dataset (see
+Section~\ref{label_sampledata}.
 
+\begin{enumerate}
+\item First click on the \toolbtntwo{mActionAddOgrLayer}{Load Vector} icon,
+browse to the QGIS sample dataset folder and load the two vector shape layers
+\filename{alaska.shp} and \filename{climate.shp}.
+\item Double click the \filename{climate} layer in the map legend to open the
+\dialog{Layer Properties} dialog.
+\item Click on the \tab{Diagram Overlay} and select \button{Bar chart} as
+Diagram type.
+\item In the diagram we want to display the values of the three columns
+\filename{T\_F\_JAN, T\_F\_JAN} and \filename{T\_F\_MEAN}. First select
+\filename{T\_F\_JAN} as Attributes and click \button{Add attribute}, then
+\filename{T\_F\_JUL} and finally \filename{T\_F\_MEAN}.  
+\item For linear scaling of the diagram size we define \filename{T\_F\_JUL}
+as classification attribute.
+\item Now click on \button{find maximum value}, choose a size value and unit
+and click \button{Apply} to display the diagram in the QGIS main window.
+\item You can now adapt the chart size, or change the attribute colors double
+clicking on the color values in the attribute field.
+Figure~\ref{fig:climatediagram} gives an impression.
+\item Finally click \button{Ok}. 
+\end{enumerate}
+
+\begin{figure}[ht]
+   \begin{center}
+   \caption{Diagram from temperature data overlayed on a map \nixcaption}\label{fig:climatediagram}\smallskip
+   \includegraphics[clip=true, width=13cm]{climate_diagram}
+\end{center}
+\end{figure}
+
 \subsection{Editing}\index{editing}
 
 QGIS supports basic capabilities for editing vector geometries.  Before reading any



More information about the QGIS-commit mailing list