No Description

class_q_c_p_statistical_box.tex 34KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. \hypertarget{class_q_c_p_statistical_box}{}\section{Q\+C\+P\+Statistical\+Box Class Reference}
  2. \label{class_q_c_p_statistical_box}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  3. A plottable representing a single statistical box in a plot.
  4. Inheritance diagram for Q\+C\+P\+Statistical\+Box\+:\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=4.000000cm]{class_q_c_p_statistical_box}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Public Member Functions}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. \hyperlink{class_q_c_p_statistical_box_a75c2b3e7fcd0741cc981693a2ba63b27}{Q\+C\+P\+Statistical\+Box} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$key\+Axis, \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$value\+Axis)
  14. \item
  15. \hypertarget{class_q_c_p_statistical_box_a767af754f39872d6308b900a0d1758ca}{}double {\bfseries key} () const \label{class_q_c_p_statistical_box_a767af754f39872d6308b900a0d1758ca}
  16. \item
  17. \hypertarget{class_q_c_p_statistical_box_acd94c05d59c05d9146d3b60d9f52df82}{}double {\bfseries minimum} () const \label{class_q_c_p_statistical_box_acd94c05d59c05d9146d3b60d9f52df82}
  18. \item
  19. \hypertarget{class_q_c_p_statistical_box_af9c4a98f5ca95b5a5a8b140f57b64ace}{}double {\bfseries lower\+Quartile} () const \label{class_q_c_p_statistical_box_af9c4a98f5ca95b5a5a8b140f57b64ace}
  20. \item
  21. \hypertarget{class_q_c_p_statistical_box_a44abdee617fe0bca72e6a2ea3fd492de}{}double {\bfseries median} () const \label{class_q_c_p_statistical_box_a44abdee617fe0bca72e6a2ea3fd492de}
  22. \item
  23. \hypertarget{class_q_c_p_statistical_box_abd15951907b54343a89b1f7feddcb7a7}{}double {\bfseries upper\+Quartile} () const \label{class_q_c_p_statistical_box_abd15951907b54343a89b1f7feddcb7a7}
  24. \item
  25. \hypertarget{class_q_c_p_statistical_box_a928bcf07dd2176affad91d85be03172f}{}double {\bfseries maximum} () const \label{class_q_c_p_statistical_box_a928bcf07dd2176affad91d85be03172f}
  26. \item
  27. \hypertarget{class_q_c_p_statistical_box_a73eaa2f800b47e3832d7f09ad1f3b7e0}{}Q\+Vector$<$ double $>$ {\bfseries outliers} () const \label{class_q_c_p_statistical_box_a73eaa2f800b47e3832d7f09ad1f3b7e0}
  28. \item
  29. \hypertarget{class_q_c_p_statistical_box_a0733a7bd575fc5929ce6d507bcc2a04c}{}double {\bfseries width} () const \label{class_q_c_p_statistical_box_a0733a7bd575fc5929ce6d507bcc2a04c}
  30. \item
  31. \hypertarget{class_q_c_p_statistical_box_ab02392dd54ebd6dd7c8d6fb5c3f0421c}{}double {\bfseries whisker\+Width} () const \label{class_q_c_p_statistical_box_ab02392dd54ebd6dd7c8d6fb5c3f0421c}
  32. \item
  33. \hypertarget{class_q_c_p_statistical_box_a26d2b34cbaeac2dd639bb21590f317c4}{}Q\+Pen {\bfseries whisker\+Pen} () const \label{class_q_c_p_statistical_box_a26d2b34cbaeac2dd639bb21590f317c4}
  34. \item
  35. \hypertarget{class_q_c_p_statistical_box_ab151a727fb0b6396acb3b6c72505a4fe}{}Q\+Pen {\bfseries whisker\+Bar\+Pen} () const \label{class_q_c_p_statistical_box_ab151a727fb0b6396acb3b6c72505a4fe}
  36. \item
  37. \hypertarget{class_q_c_p_statistical_box_a96aa0bb650b83e9dfa0387ca4db7fa05}{}Q\+Pen {\bfseries median\+Pen} () const \label{class_q_c_p_statistical_box_a96aa0bb650b83e9dfa0387ca4db7fa05}
  38. \item
  39. \hypertarget{class_q_c_p_statistical_box_ab7e5a68bce97ba43a7ff18e074c4dcad}{}\hyperlink{class_q_c_p_scatter_style}{Q\+C\+P\+Scatter\+Style} {\bfseries outlier\+Style} () const \label{class_q_c_p_statistical_box_ab7e5a68bce97ba43a7ff18e074c4dcad}
  40. \item
  41. void \hyperlink{class_q_c_p_statistical_box_a84a1c6d34b2f9af40bca0c527d51e97e}{set\+Key} (double key)
  42. \item
  43. void \hyperlink{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}{set\+Minimum} (double value)
  44. \item
  45. void \hyperlink{class_q_c_p_statistical_box_a680941af5e23d902013962fa67223f9e}{set\+Lower\+Quartile} (double value)
  46. \item
  47. void \hyperlink{class_q_c_p_statistical_box_a65970e77a897da4ecb4b15300868aad3}{set\+Median} (double value)
  48. \item
  49. void \hyperlink{class_q_c_p_statistical_box_a65a1375f941c5a2077b5201229e89346}{set\+Upper\+Quartile} (double value)
  50. \item
  51. void \hyperlink{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}{set\+Maximum} (double value)
  52. \item
  53. void \hyperlink{class_q_c_p_statistical_box_af9bc09620e0bf93bf444ee35e5800d1d}{set\+Outliers} (const Q\+Vector$<$ double $>$ \&values)
  54. \item
  55. void \hyperlink{class_q_c_p_statistical_box_adf50c57b635edb12470c0e4a986aff37}{set\+Data} (double key, double minimum, double lower\+Quartile, double median, double upper\+Quartile, double maximum)
  56. \item
  57. void \hyperlink{class_q_c_p_statistical_box_a0b62775bd67301b1eba5c785f2b26f14}{set\+Width} (double width)
  58. \item
  59. void \hyperlink{class_q_c_p_statistical_box_adf378812446bd66f34d1f7f293d991cd}{set\+Whisker\+Width} (double width)
  60. \item
  61. void \hyperlink{class_q_c_p_statistical_box_a4a5034cb3b9b040444df05ab1684620b}{set\+Whisker\+Pen} (const Q\+Pen \&pen)
  62. \item
  63. void \hyperlink{class_q_c_p_statistical_box_aa8d3e503897788e1abf68dc74b5f147f}{set\+Whisker\+Bar\+Pen} (const Q\+Pen \&pen)
  64. \item
  65. void \hyperlink{class_q_c_p_statistical_box_a7260ac55b669f5d0a74f16d5ca84c52c}{set\+Median\+Pen} (const Q\+Pen \&pen)
  66. \item
  67. void \hyperlink{class_q_c_p_statistical_box_ad5241943422eb8e58360a97e99ad6aa7}{set\+Outlier\+Style} (const \hyperlink{class_q_c_p_scatter_style}{Q\+C\+P\+Scatter\+Style} \&style)
  68. \item
  69. virtual void \hyperlink{class_q_c_p_statistical_box_a19112994449df0c20287858436cc68e3}{clear\+Data} ()
  70. \item
  71. virtual double \hyperlink{class_q_c_p_statistical_box_a7d3ac843dc48a085740fdfc4319a89cc}{select\+Test} (const Q\+Point\+F \&pos, bool only\+Selectable, Q\+Variant $\ast$details=0) const
  72. \end{DoxyCompactItemize}
  73. \subsection*{Protected Member Functions}
  74. \begin{DoxyCompactItemize}
  75. \item
  76. \hypertarget{class_q_c_p_statistical_box_a753b62761217dd6b92f8a29e286a1317}{}virtual void {\bfseries draw} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)\label{class_q_c_p_statistical_box_a753b62761217dd6b92f8a29e286a1317}
  77. \item
  78. \hypertarget{class_q_c_p_statistical_box_a51764ed423fa02d3ef63f6848851ec33}{}virtual void {\bfseries draw\+Legend\+Icon} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter, const Q\+Rect\+F \&rect) const \label{class_q_c_p_statistical_box_a51764ed423fa02d3ef63f6848851ec33}
  79. \item
  80. \hypertarget{class_q_c_p_statistical_box_a2f66940ae92d7ad438834c861fc2d57f}{}virtual \hyperlink{class_q_c_p_range}{Q\+C\+P\+Range} {\bfseries get\+Key\+Range} (bool \&valid\+Range, \hyperlink{class_q_c_p_abstract_plottable_a661743478a1d3c09d28ec2711d7653d8}{Sign\+Domain} in\+Sign\+Domain=\hyperlink{class_q_c_p_abstract_plottable_a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60}{sd\+Both}) const \label{class_q_c_p_statistical_box_a2f66940ae92d7ad438834c861fc2d57f}
  81. \item
  82. \hypertarget{class_q_c_p_statistical_box_a2db77e9a3c2cc016381340968a250be0}{}virtual \hyperlink{class_q_c_p_range}{Q\+C\+P\+Range} {\bfseries get\+Value\+Range} (bool \&valid\+Range, \hyperlink{class_q_c_p_abstract_plottable_a661743478a1d3c09d28ec2711d7653d8}{Sign\+Domain} in\+Sign\+Domain=\hyperlink{class_q_c_p_abstract_plottable_a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60}{sd\+Both}) const \label{class_q_c_p_statistical_box_a2db77e9a3c2cc016381340968a250be0}
  83. \item
  84. \hypertarget{class_q_c_p_statistical_box_a9ad0abdb154fefb04e9872f0db8e2ec7}{}virtual void {\bfseries draw\+Quartile\+Box} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter, Q\+Rect\+F $\ast$quartile\+Box=0) const \label{class_q_c_p_statistical_box_a9ad0abdb154fefb04e9872f0db8e2ec7}
  85. \item
  86. \hypertarget{class_q_c_p_statistical_box_a16fef8bc19e5a09d82033edcfe919495}{}virtual void {\bfseries draw\+Median} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter) const \label{class_q_c_p_statistical_box_a16fef8bc19e5a09d82033edcfe919495}
  87. \item
  88. \hypertarget{class_q_c_p_statistical_box_a6f8d093ec7e404529388d02da4c72b34}{}virtual void {\bfseries draw\+Whiskers} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter) const \label{class_q_c_p_statistical_box_a6f8d093ec7e404529388d02da4c72b34}
  89. \item
  90. \hypertarget{class_q_c_p_statistical_box_a60ebb332a497f51ace837767db5105b9}{}virtual void {\bfseries draw\+Outliers} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter) const \label{class_q_c_p_statistical_box_a60ebb332a497f51ace837767db5105b9}
  91. \end{DoxyCompactItemize}
  92. \subsection*{Protected Attributes}
  93. \begin{DoxyCompactItemize}
  94. \item
  95. \hypertarget{class_q_c_p_statistical_box_a415e2f77a89396c2af999afe027bdf6c}{}Q\+Vector$<$ double $>$ {\bfseries m\+Outliers}\label{class_q_c_p_statistical_box_a415e2f77a89396c2af999afe027bdf6c}
  96. \item
  97. \hypertarget{class_q_c_p_statistical_box_a86fd1d3be5c5bc11d11eda7517069af4}{}double {\bfseries m\+Key}\label{class_q_c_p_statistical_box_a86fd1d3be5c5bc11d11eda7517069af4}
  98. \item
  99. \hypertarget{class_q_c_p_statistical_box_a7143ece4e7e5f9ac010739fbc390bf0c}{}double {\bfseries m\+Minimum}\label{class_q_c_p_statistical_box_a7143ece4e7e5f9ac010739fbc390bf0c}
  100. \item
  101. \hypertarget{class_q_c_p_statistical_box_acac86cac93d9fa3d820b5aaa04ed96f6}{}double {\bfseries m\+Lower\+Quartile}\label{class_q_c_p_statistical_box_acac86cac93d9fa3d820b5aaa04ed96f6}
  102. \item
  103. \hypertarget{class_q_c_p_statistical_box_ae43287ca13c8166bde2ac19bf0969d23}{}double {\bfseries m\+Median}\label{class_q_c_p_statistical_box_ae43287ca13c8166bde2ac19bf0969d23}
  104. \item
  105. \hypertarget{class_q_c_p_statistical_box_a865afbcca332ee851aa45807381bc80e}{}double {\bfseries m\+Upper\+Quartile}\label{class_q_c_p_statistical_box_a865afbcca332ee851aa45807381bc80e}
  106. \item
  107. \hypertarget{class_q_c_p_statistical_box_a16266f1e0e4e8e95b5d141c49479ef2e}{}double {\bfseries m\+Maximum}\label{class_q_c_p_statistical_box_a16266f1e0e4e8e95b5d141c49479ef2e}
  108. \item
  109. \hypertarget{class_q_c_p_statistical_box_af365e40b0f706c3d76f857c7957f629d}{}double {\bfseries m\+Width}\label{class_q_c_p_statistical_box_af365e40b0f706c3d76f857c7957f629d}
  110. \item
  111. \hypertarget{class_q_c_p_statistical_box_a4d166474f845d5db626e8b11a0815a6f}{}double {\bfseries m\+Whisker\+Width}\label{class_q_c_p_statistical_box_a4d166474f845d5db626e8b11a0815a6f}
  112. \item
  113. \hypertarget{class_q_c_p_statistical_box_a25b7552499f0f090fcff02858b2265a5}{}Q\+Pen {\bfseries m\+Whisker\+Pen}\label{class_q_c_p_statistical_box_a25b7552499f0f090fcff02858b2265a5}
  114. \item
  115. \hypertarget{class_q_c_p_statistical_box_aa719b1d722a9f82364df1497a6dc1da8}{}Q\+Pen {\bfseries m\+Whisker\+Bar\+Pen}\label{class_q_c_p_statistical_box_aa719b1d722a9f82364df1497a6dc1da8}
  116. \item
  117. \hypertarget{class_q_c_p_statistical_box_a1af5b601049c575f778ae270f40c9443}{}Q\+Pen {\bfseries m\+Median\+Pen}\label{class_q_c_p_statistical_box_a1af5b601049c575f778ae270f40c9443}
  118. \item
  119. \hypertarget{class_q_c_p_statistical_box_ae102e4187e1e6ba1f2df0f622b5171a4}{}\hyperlink{class_q_c_p_scatter_style}{Q\+C\+P\+Scatter\+Style} {\bfseries m\+Outlier\+Style}\label{class_q_c_p_statistical_box_ae102e4187e1e6ba1f2df0f622b5171a4}
  120. \end{DoxyCompactItemize}
  121. \subsection*{Friends}
  122. \begin{DoxyCompactItemize}
  123. \item
  124. \hypertarget{class_q_c_p_statistical_box_a1cdf9df76adcfae45261690aa0ca2198}{}class {\bfseries Q\+Custom\+Plot}\label{class_q_c_p_statistical_box_a1cdf9df76adcfae45261690aa0ca2198}
  125. \item
  126. \hypertarget{class_q_c_p_statistical_box_a8429035e7adfbd7f05805a6530ad5e3b}{}class {\bfseries Q\+C\+P\+Legend}\label{class_q_c_p_statistical_box_a8429035e7adfbd7f05805a6530ad5e3b}
  127. \end{DoxyCompactItemize}
  128. \subsection*{Additional Inherited Members}
  129. \subsection{Detailed Description}
  130. A plottable representing a single statistical box in a plot.
  131. To plot data, assign it with the individual parameter functions or use \hyperlink{class_q_c_p_statistical_box_adf50c57b635edb12470c0e4a986aff37}{set\+Data} to set all parameters at once. The individual funcions are\+: \begin{DoxyItemize}
  132. \item \hyperlink{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}{set\+Minimum} \item \hyperlink{class_q_c_p_statistical_box_a680941af5e23d902013962fa67223f9e}{set\+Lower\+Quartile} \item \hyperlink{class_q_c_p_statistical_box_a65970e77a897da4ecb4b15300868aad3}{set\+Median} \item \hyperlink{class_q_c_p_statistical_box_a65a1375f941c5a2077b5201229e89346}{set\+Upper\+Quartile} \item \hyperlink{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}{set\+Maximum}\end{DoxyItemize}
  133. Additionally you can define a list of outliers, drawn as circle datapoints\+: \begin{DoxyItemize}
  134. \item \hyperlink{class_q_c_p_statistical_box_af9bc09620e0bf93bf444ee35e5800d1d}{set\+Outliers}\end{DoxyItemize}
  135. \hypertarget{class_q_c_p_statistical_box_appearance}{}\subsection{Changing the appearance}\label{class_q_c_p_statistical_box_appearance}
  136. The appearance of the box itself is controlled via \hyperlink{class_q_c_p_abstract_plottable_ab74b09ae4c0e7e13142fe4b5bf46cac7}{set\+Pen} and \hyperlink{class_q_c_p_abstract_plottable_a7a4b92144dca6453a1f0f210e27edc74}{set\+Brush}. You may change the width of the box with \hyperlink{class_q_c_p_statistical_box_a0b62775bd67301b1eba5c785f2b26f14}{set\+Width} in plot coordinates (not pixels).
  137. Analog functions exist for the minimum/maximum-\/whiskers\+: \hyperlink{class_q_c_p_statistical_box_a4a5034cb3b9b040444df05ab1684620b}{set\+Whisker\+Pen}, \hyperlink{class_q_c_p_statistical_box_aa8d3e503897788e1abf68dc74b5f147f}{set\+Whisker\+Bar\+Pen}, \hyperlink{class_q_c_p_statistical_box_adf378812446bd66f34d1f7f293d991cd}{set\+Whisker\+Width}. The whisker width is the width of the bar at the top (maximum) and bottom (minimum).
  138. The median indicator line has its own pen, \hyperlink{class_q_c_p_statistical_box_a7260ac55b669f5d0a74f16d5ca84c52c}{set\+Median\+Pen}.
  139. If the whisker backbone pen is changed, make sure to set the cap\+Style to Qt\+::\+Flat\+Cap. Else, the backbone line might exceed the whisker bars by a few pixels due to the pen cap being not perfectly flat.
  140. The Outlier data points are drawn as normal scatter points. Their look can be controlled with \hyperlink{class_q_c_p_statistical_box_ad5241943422eb8e58360a97e99ad6aa7}{set\+Outlier\+Style}\hypertarget{class_q_c_p_statistical_box_usage}{}\subsection{Usage}\label{class_q_c_p_statistical_box_usage}
  141. Like all data representing objects in \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}, the \hyperlink{class_q_c_p_statistical_box}{Q\+C\+P\+Statistical\+Box} is a plottable (\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}). So the plottable-\/interface of \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} applies (\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{Q\+Custom\+Plot\+::plottable}, \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{Q\+Custom\+Plot\+::add\+Plottable}, \hyperlink{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{Q\+Custom\+Plot\+::remove\+Plottable}, etc.)
  142. Usually, you first create an instance\+:
  143. \begin{DoxyCode}
  144. \hyperlink{class_q_c_p_statistical_box}{QCPStatisticalBox} *newBox = \textcolor{keyword}{new} \hyperlink{class_q_c_p_statistical_box_a75c2b3e7fcd0741cc981693a2ba63b27}{QCPStatisticalBox}(customPlot->xAxis,
  145. customPlot->yAxis);
  146. \end{DoxyCode}
  147. add it to the custom\+Plot with \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{Q\+Custom\+Plot\+::add\+Plottable}\+:
  148. \begin{DoxyCode}
  149. customPlot->addPlottable(newBox);
  150. \end{DoxyCode}
  151. and then modify the properties of the newly created plottable, e.\+g.\+:
  152. \begin{DoxyCode}
  153. newBox->\hyperlink{class_q_c_p_abstract_plottable_ab79c7ba76bc7fa89a4b3580e12149f1f}{setName}(\textcolor{stringliteral}{"Measurement Series 1"});
  154. newBox->\hyperlink{class_q_c_p_statistical_box_adf50c57b635edb12470c0e4a986aff37}{setData}(1, 3, 4, 5, 7);
  155. newBox->\hyperlink{class_q_c_p_statistical_box_af9bc09620e0bf93bf444ee35e5800d1d}{setOutliers}(QVector<double>() << 0.5 << 0.64 << 7.2 << 7.42);
  156. \end{DoxyCode}
  157. \subsection{Constructor \& Destructor Documentation}
  158. \hypertarget{class_q_c_p_statistical_box_a75c2b3e7fcd0741cc981693a2ba63b27}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  159. \index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  160. \subsubsection[{Q\+C\+P\+Statistical\+Box}]{\setlength{\rightskip}{0pt plus 5cm}Q\+C\+P\+Statistical\+Box\+::\+Q\+C\+P\+Statistical\+Box (
  161. \begin{DoxyParamCaption}
  162. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{key\+Axis, }
  163. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{value\+Axis}
  164. \end{DoxyParamCaption}
  165. )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_q_c_p_statistical_box_a75c2b3e7fcd0741cc981693a2ba63b27}
  166. Constructs a statistical box which uses {\itshape key\+Axis} as its key axis (\char`\"{}x\char`\"{}) and {\itshape value\+Axis} as its value axis (\char`\"{}y\char`\"{}). {\itshape key\+Axis} and {\itshape value\+Axis} must reside in the same \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} instance and not have the same orientation. If either of these restrictions is violated, a corresponding message is printed to the debug output (q\+Debug), the construction is not aborted, though.
  167. The constructed statistical box can be added to the plot with \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{Q\+Custom\+Plot\+::add\+Plottable}, \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} then takes ownership of the statistical box.
  168. \subsection{Member Function Documentation}
  169. \hypertarget{class_q_c_p_statistical_box_a19112994449df0c20287858436cc68e3}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!clear\+Data@{clear\+Data}}
  170. \index{clear\+Data@{clear\+Data}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  171. \subsubsection[{clear\+Data}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::clear\+Data (
  172. \begin{DoxyParamCaption}
  173. {}
  174. \end{DoxyParamCaption}
  175. )\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_statistical_box_a19112994449df0c20287858436cc68e3}
  176. Clears all data in the plottable.
  177. Implements \hyperlink{class_q_c_p_abstract_plottable_a86e5b8fd4b6ff4f4084e7ea4c573fc53}{Q\+C\+P\+Abstract\+Plottable}.
  178. \hypertarget{class_q_c_p_statistical_box_a7d3ac843dc48a085740fdfc4319a89cc}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!select\+Test@{select\+Test}}
  179. \index{select\+Test@{select\+Test}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  180. \subsubsection[{select\+Test}]{\setlength{\rightskip}{0pt plus 5cm}double Q\+C\+P\+Statistical\+Box\+::select\+Test (
  181. \begin{DoxyParamCaption}
  182. \item[{const Q\+Point\+F \&}]{pos, }
  183. \item[{bool}]{only\+Selectable, }
  184. \item[{Q\+Variant $\ast$}]{details = {\ttfamily 0}}
  185. \end{DoxyParamCaption}
  186. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_statistical_box_a7d3ac843dc48a085740fdfc4319a89cc}
  187. This function is used to decide whether a click hits a layerable object or not.
  188. {\itshape pos} is a point in pixel coordinates on the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} surface. This function returns the shortest pixel distance of this point to the object. If the object is either invisible or the distance couldn\textquotesingle{}t be determined, -\/1.\+0 is returned. Further, if {\itshape only\+Selectable} is true and the object is not selectable, -\/1.\+0 is returned, too.
  189. If the item is represented not by single lines but by an area like \hyperlink{class_q_c_p_item_rect}{Q\+C\+P\+Item\+Rect} or \hyperlink{class_q_c_p_item_text}{Q\+C\+P\+Item\+Text}, a click inside the area returns a constant value greater zero (typically the selection\+Tolerance of the parent \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} multiplied by 0.\+99). If the click lies outside the area, this function returns -\/1.\+0.
  190. Providing a constant value for area objects allows selecting line objects even when they are obscured by such area objects, by clicking close to the lines (i.\+e. closer than 0.\+99$\ast$selection\+Tolerance).
  191. The actual setting of the selection state is not done by this function. This is handled by the parent \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} when the mouse\+Release\+Event occurs, and the finally selected object is notified via the select\+Event/deselect\+Event methods.
  192. {\itshape details} is an optional output parameter. Every layerable subclass may place any information in {\itshape details}. This information will be passed to select\+Event when the parent \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} decides on the basis of this select\+Test call, that the object was successfully selected. The subsequent call to select\+Event will carry the {\itshape details}. This is useful for multi-\/part objects (like \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}). This way, a possibly complex calculation to decide which part was clicked is only done once in \hyperlink{class_q_c_p_statistical_box_a7d3ac843dc48a085740fdfc4319a89cc}{select\+Test}. The result (i.\+e. the actually clicked part) can then be placed in {\itshape details}. So in the subsequent select\+Event, the decision which part was selected doesn\textquotesingle{}t have to be done a second time for a single selection operation.
  193. You may pass 0 as {\itshape details} to indicate that you are not interested in those selection details.
  194. \begin{DoxySeeAlso}{See also}
  195. select\+Event, deselect\+Event, \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}
  196. \end{DoxySeeAlso}
  197. Implements \hyperlink{class_q_c_p_abstract_plottable_a38efe9641d972992a3d44204bc80ec1d}{Q\+C\+P\+Abstract\+Plottable}.
  198. \hypertarget{class_q_c_p_statistical_box_adf50c57b635edb12470c0e4a986aff37}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Data@{set\+Data}}
  199. \index{set\+Data@{set\+Data}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  200. \subsubsection[{set\+Data}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Data (
  201. \begin{DoxyParamCaption}
  202. \item[{double}]{key, }
  203. \item[{double}]{minimum, }
  204. \item[{double}]{lower\+Quartile, }
  205. \item[{double}]{median, }
  206. \item[{double}]{upper\+Quartile, }
  207. \item[{double}]{maximum}
  208. \end{DoxyParamCaption}
  209. )}\label{class_q_c_p_statistical_box_adf50c57b635edb12470c0e4a986aff37}
  210. Sets all parameters of the statistical box plot at once.
  211. \begin{DoxySeeAlso}{See also}
  212. \hyperlink{class_q_c_p_statistical_box_a84a1c6d34b2f9af40bca0c527d51e97e}{set\+Key}, \hyperlink{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}{set\+Minimum}, \hyperlink{class_q_c_p_statistical_box_a680941af5e23d902013962fa67223f9e}{set\+Lower\+Quartile}, \hyperlink{class_q_c_p_statistical_box_a65970e77a897da4ecb4b15300868aad3}{set\+Median}, \hyperlink{class_q_c_p_statistical_box_a65a1375f941c5a2077b5201229e89346}{set\+Upper\+Quartile}, \hyperlink{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}{set\+Maximum}
  213. \end{DoxySeeAlso}
  214. \hypertarget{class_q_c_p_statistical_box_a84a1c6d34b2f9af40bca0c527d51e97e}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Key@{set\+Key}}
  215. \index{set\+Key@{set\+Key}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  216. \subsubsection[{set\+Key}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Key (
  217. \begin{DoxyParamCaption}
  218. \item[{double}]{key}
  219. \end{DoxyParamCaption}
  220. )}\label{class_q_c_p_statistical_box_a84a1c6d34b2f9af40bca0c527d51e97e}
  221. Sets the key coordinate of the statistical box. \hypertarget{class_q_c_p_statistical_box_a680941af5e23d902013962fa67223f9e}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Lower\+Quartile@{set\+Lower\+Quartile}}
  222. \index{set\+Lower\+Quartile@{set\+Lower\+Quartile}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  223. \subsubsection[{set\+Lower\+Quartile}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Lower\+Quartile (
  224. \begin{DoxyParamCaption}
  225. \item[{double}]{value}
  226. \end{DoxyParamCaption}
  227. )}\label{class_q_c_p_statistical_box_a680941af5e23d902013962fa67223f9e}
  228. Sets the parameter \char`\"{}lower Quartile\char`\"{} of the statistical box plot. This is the lower end of the box. The lower and the upper quartiles are the two statistical quartiles around the median of the sample, they contain 50\% of the sample data.
  229. \begin{DoxySeeAlso}{See also}
  230. \hyperlink{class_q_c_p_statistical_box_a65a1375f941c5a2077b5201229e89346}{set\+Upper\+Quartile}, \hyperlink{class_q_c_p_abstract_plottable_ab74b09ae4c0e7e13142fe4b5bf46cac7}{set\+Pen}, \hyperlink{class_q_c_p_abstract_plottable_a7a4b92144dca6453a1f0f210e27edc74}{set\+Brush}, \hyperlink{class_q_c_p_statistical_box_a0b62775bd67301b1eba5c785f2b26f14}{set\+Width}
  231. \end{DoxySeeAlso}
  232. \hypertarget{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Maximum@{set\+Maximum}}
  233. \index{set\+Maximum@{set\+Maximum}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  234. \subsubsection[{set\+Maximum}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Maximum (
  235. \begin{DoxyParamCaption}
  236. \item[{double}]{value}
  237. \end{DoxyParamCaption}
  238. )}\label{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}
  239. Sets the parameter \char`\"{}maximum\char`\"{} of the statistical box plot. This is the position of the upper whisker, typically the maximum measurement of the sample that\textquotesingle{}s not considered an outlier.
  240. \begin{DoxySeeAlso}{See also}
  241. \hyperlink{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}{set\+Minimum}, \hyperlink{class_q_c_p_statistical_box_a4a5034cb3b9b040444df05ab1684620b}{set\+Whisker\+Pen}, \hyperlink{class_q_c_p_statistical_box_aa8d3e503897788e1abf68dc74b5f147f}{set\+Whisker\+Bar\+Pen}, \hyperlink{class_q_c_p_statistical_box_adf378812446bd66f34d1f7f293d991cd}{set\+Whisker\+Width}
  242. \end{DoxySeeAlso}
  243. \hypertarget{class_q_c_p_statistical_box_a65970e77a897da4ecb4b15300868aad3}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Median@{set\+Median}}
  244. \index{set\+Median@{set\+Median}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  245. \subsubsection[{set\+Median}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Median (
  246. \begin{DoxyParamCaption}
  247. \item[{double}]{value}
  248. \end{DoxyParamCaption}
  249. )}\label{class_q_c_p_statistical_box_a65970e77a897da4ecb4b15300868aad3}
  250. Sets the parameter \char`\"{}median\char`\"{} of the statistical box plot. This is the value of the median mark inside the quartile box. The median separates the sample data in half (50\% of the sample data is below/above the median).
  251. \begin{DoxySeeAlso}{See also}
  252. \hyperlink{class_q_c_p_statistical_box_a7260ac55b669f5d0a74f16d5ca84c52c}{set\+Median\+Pen}
  253. \end{DoxySeeAlso}
  254. \hypertarget{class_q_c_p_statistical_box_a7260ac55b669f5d0a74f16d5ca84c52c}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Median\+Pen@{set\+Median\+Pen}}
  255. \index{set\+Median\+Pen@{set\+Median\+Pen}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  256. \subsubsection[{set\+Median\+Pen}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Median\+Pen (
  257. \begin{DoxyParamCaption}
  258. \item[{const Q\+Pen \&}]{pen}
  259. \end{DoxyParamCaption}
  260. )}\label{class_q_c_p_statistical_box_a7260ac55b669f5d0a74f16d5ca84c52c}
  261. Sets the pen used for drawing the median indicator line inside the statistical box. \hypertarget{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Minimum@{set\+Minimum}}
  262. \index{set\+Minimum@{set\+Minimum}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  263. \subsubsection[{set\+Minimum}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Minimum (
  264. \begin{DoxyParamCaption}
  265. \item[{double}]{value}
  266. \end{DoxyParamCaption}
  267. )}\label{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}
  268. Sets the parameter \char`\"{}minimum\char`\"{} of the statistical box plot. This is the position of the lower whisker, typically the minimum measurement of the sample that\textquotesingle{}s not considered an outlier.
  269. \begin{DoxySeeAlso}{See also}
  270. \hyperlink{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}{set\+Maximum}, \hyperlink{class_q_c_p_statistical_box_a4a5034cb3b9b040444df05ab1684620b}{set\+Whisker\+Pen}, \hyperlink{class_q_c_p_statistical_box_aa8d3e503897788e1abf68dc74b5f147f}{set\+Whisker\+Bar\+Pen}, \hyperlink{class_q_c_p_statistical_box_adf378812446bd66f34d1f7f293d991cd}{set\+Whisker\+Width}
  271. \end{DoxySeeAlso}
  272. \hypertarget{class_q_c_p_statistical_box_af9bc09620e0bf93bf444ee35e5800d1d}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Outliers@{set\+Outliers}}
  273. \index{set\+Outliers@{set\+Outliers}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  274. \subsubsection[{set\+Outliers}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Outliers (
  275. \begin{DoxyParamCaption}
  276. \item[{const Q\+Vector$<$ double $>$ \&}]{values}
  277. \end{DoxyParamCaption}
  278. )}\label{class_q_c_p_statistical_box_af9bc09620e0bf93bf444ee35e5800d1d}
  279. Sets a vector of outlier values that will be drawn as circles. Any data points in the sample that are not within the whiskers (\hyperlink{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}{set\+Minimum}, \hyperlink{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}{set\+Maximum}) should be considered outliers and displayed as such.
  280. \begin{DoxySeeAlso}{See also}
  281. \hyperlink{class_q_c_p_statistical_box_ad5241943422eb8e58360a97e99ad6aa7}{set\+Outlier\+Style}
  282. \end{DoxySeeAlso}
  283. \hypertarget{class_q_c_p_statistical_box_ad5241943422eb8e58360a97e99ad6aa7}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Outlier\+Style@{set\+Outlier\+Style}}
  284. \index{set\+Outlier\+Style@{set\+Outlier\+Style}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  285. \subsubsection[{set\+Outlier\+Style}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Outlier\+Style (
  286. \begin{DoxyParamCaption}
  287. \item[{const {\bf Q\+C\+P\+Scatter\+Style} \&}]{style}
  288. \end{DoxyParamCaption}
  289. )}\label{class_q_c_p_statistical_box_ad5241943422eb8e58360a97e99ad6aa7}
  290. Sets the appearance of the outlier data points.
  291. \begin{DoxySeeAlso}{See also}
  292. \hyperlink{class_q_c_p_statistical_box_af9bc09620e0bf93bf444ee35e5800d1d}{set\+Outliers}
  293. \end{DoxySeeAlso}
  294. \hypertarget{class_q_c_p_statistical_box_a65a1375f941c5a2077b5201229e89346}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Upper\+Quartile@{set\+Upper\+Quartile}}
  295. \index{set\+Upper\+Quartile@{set\+Upper\+Quartile}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  296. \subsubsection[{set\+Upper\+Quartile}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Upper\+Quartile (
  297. \begin{DoxyParamCaption}
  298. \item[{double}]{value}
  299. \end{DoxyParamCaption}
  300. )}\label{class_q_c_p_statistical_box_a65a1375f941c5a2077b5201229e89346}
  301. Sets the parameter \char`\"{}upper Quartile\char`\"{} of the statistical box plot. This is the upper end of the box. The lower and the upper quartiles are the two statistical quartiles around the median of the sample, they contain 50\% of the sample data.
  302. \begin{DoxySeeAlso}{See also}
  303. \hyperlink{class_q_c_p_statistical_box_a680941af5e23d902013962fa67223f9e}{set\+Lower\+Quartile}, \hyperlink{class_q_c_p_abstract_plottable_ab74b09ae4c0e7e13142fe4b5bf46cac7}{set\+Pen}, \hyperlink{class_q_c_p_abstract_plottable_a7a4b92144dca6453a1f0f210e27edc74}{set\+Brush}, \hyperlink{class_q_c_p_statistical_box_a0b62775bd67301b1eba5c785f2b26f14}{set\+Width}
  304. \end{DoxySeeAlso}
  305. \hypertarget{class_q_c_p_statistical_box_aa8d3e503897788e1abf68dc74b5f147f}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Whisker\+Bar\+Pen@{set\+Whisker\+Bar\+Pen}}
  306. \index{set\+Whisker\+Bar\+Pen@{set\+Whisker\+Bar\+Pen}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  307. \subsubsection[{set\+Whisker\+Bar\+Pen}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Whisker\+Bar\+Pen (
  308. \begin{DoxyParamCaption}
  309. \item[{const Q\+Pen \&}]{pen}
  310. \end{DoxyParamCaption}
  311. )}\label{class_q_c_p_statistical_box_aa8d3e503897788e1abf68dc74b5f147f}
  312. Sets the pen used for drawing the whisker bars (Those are the lines parallel to the key axis at each end of the whisker backbone).
  313. \begin{DoxySeeAlso}{See also}
  314. \hyperlink{class_q_c_p_statistical_box_a4a5034cb3b9b040444df05ab1684620b}{set\+Whisker\+Pen}
  315. \end{DoxySeeAlso}
  316. \hypertarget{class_q_c_p_statistical_box_a4a5034cb3b9b040444df05ab1684620b}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Whisker\+Pen@{set\+Whisker\+Pen}}
  317. \index{set\+Whisker\+Pen@{set\+Whisker\+Pen}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  318. \subsubsection[{set\+Whisker\+Pen}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Whisker\+Pen (
  319. \begin{DoxyParamCaption}
  320. \item[{const Q\+Pen \&}]{pen}
  321. \end{DoxyParamCaption}
  322. )}\label{class_q_c_p_statistical_box_a4a5034cb3b9b040444df05ab1684620b}
  323. Sets the pen used for drawing the whisker backbone (That\textquotesingle{}s the line parallel to the value axis).
  324. Make sure to set the {\itshape pen} cap\+Style to Qt\+::\+Flat\+Cap to prevent the whisker backbone from reaching a few pixels past the whisker bars, when using a non-\/zero pen width.
  325. \begin{DoxySeeAlso}{See also}
  326. \hyperlink{class_q_c_p_statistical_box_aa8d3e503897788e1abf68dc74b5f147f}{set\+Whisker\+Bar\+Pen}
  327. \end{DoxySeeAlso}
  328. \hypertarget{class_q_c_p_statistical_box_adf378812446bd66f34d1f7f293d991cd}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Whisker\+Width@{set\+Whisker\+Width}}
  329. \index{set\+Whisker\+Width@{set\+Whisker\+Width}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  330. \subsubsection[{set\+Whisker\+Width}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Whisker\+Width (
  331. \begin{DoxyParamCaption}
  332. \item[{double}]{width}
  333. \end{DoxyParamCaption}
  334. )}\label{class_q_c_p_statistical_box_adf378812446bd66f34d1f7f293d991cd}
  335. Sets the width of the whiskers (\hyperlink{class_q_c_p_statistical_box_a84ff7cc61ba44890f0c3e0c99c19941e}{set\+Minimum}, \hyperlink{class_q_c_p_statistical_box_acec5ad1901f00f2c5387cfb4d9787eb3}{set\+Maximum}) in key coordinates.
  336. \begin{DoxySeeAlso}{See also}
  337. \hyperlink{class_q_c_p_statistical_box_a0b62775bd67301b1eba5c785f2b26f14}{set\+Width}
  338. \end{DoxySeeAlso}
  339. \hypertarget{class_q_c_p_statistical_box_a0b62775bd67301b1eba5c785f2b26f14}{}\index{Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}!set\+Width@{set\+Width}}
  340. \index{set\+Width@{set\+Width}!Q\+C\+P\+Statistical\+Box@{Q\+C\+P\+Statistical\+Box}}
  341. \subsubsection[{set\+Width}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Statistical\+Box\+::set\+Width (
  342. \begin{DoxyParamCaption}
  343. \item[{double}]{width}
  344. \end{DoxyParamCaption}
  345. )}\label{class_q_c_p_statistical_box_a0b62775bd67301b1eba5c785f2b26f14}
  346. Sets the width of the box in key coordinates.
  347. \begin{DoxySeeAlso}{See also}
  348. \hyperlink{class_q_c_p_statistical_box_adf378812446bd66f34d1f7f293d991cd}{set\+Whisker\+Width}
  349. \end{DoxySeeAlso}
  350. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  351. \item
  352. \hyperlink{qcustomplot_8h}{qcustomplot.\+h}\item
  353. \hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}\end{DoxyCompactItemize}