\hypertarget{classHistogram}{}\section{Histogram Class Reference}
\label{classHistogram}\index{Histogram@{Histogram}}


\hyperlink{classHistogram}{Histogram} plot.  




{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Qwt\+Widgets/\+Qwt\+Histogramm.\+hh$>$}

Inheritance diagram for Histogram\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classHistogram}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classHistogram_aa8b54c1379a276a619a40a377428b93c}\label{classHistogram_aa8b54c1379a276a619a40a377428b93c}} 
enum {\bfseries Histogram\+Attribute} \{ {\bfseries Auto} = 0, 
{\bfseries Xfy} = 1
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classHistogram_a3c36579ecff2e624dddc7032be72c3d7}\label{classHistogram_a3c36579ecff2e624dddc7032be72c3d7}} 
\hyperlink{classHistogram_a3c36579ecff2e624dddc7032be72c3d7}{Histogram} (const Q\+String \&title=Q\+String())
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classHistogram_a4b065888a7a5cfc2874781f661c636ee}\label{classHistogram_a4b065888a7a5cfc2874781f661c636ee}} 
\hyperlink{classHistogram_a4b065888a7a5cfc2874781f661c636ee}{Histogram} (const Qwt\+Text \&title)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classHistogram_afbd077244c19d184ab1c8931aa4f0d4b}\label{classHistogram_afbd077244c19d184ab1c8931aa4f0d4b}} 
virtual \hyperlink{classHistogram_afbd077244c19d184ab1c8931aa4f0d4b}{$\sim$\+Histogram} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \hyperlink{classHistogram_ade62828c2ab32fc44f3b8106f025c704}{set\+Data} (Qwt\+Interval\+Series\+Data $\ast$data)
\begin{DoxyCompactList}\small\item\em set data to render \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classHistogram_a09f168694d003bd6786e0bb7c53d449d}\label{classHistogram_a09f168694d003bd6786e0bb7c53d449d}} 
const Qwt\+Interval\+Series\+Data $\ast$ {\bfseries data} () const
\item 
void \hyperlink{classHistogram_a956cff73400162dd918663786d7df2cf}{set\+Colors} (std\+::vector$<$ Q\+Color $>$ \&\+\_\+colors)
\begin{DoxyCompactList}\small\item\em Set colors. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classHistogram_a4430706f2852707e2833c61b8b90ebb1}\label{classHistogram_a4430706f2852707e2833c61b8b90ebb1}} 
virtual Q\+RectF \hyperlink{classHistogram_a4430706f2852707e2833c61b8b90ebb1}{bounding\+Rect} () const
\begin{DoxyCompactList}\small\item\em Function hat will return the datas bounding rectangle (for rendering) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classHistogram_ad62753c8a9f1fcf13449b0799355d13c}\label{classHistogram_ad62753c8a9f1fcf13449b0799355d13c}} 
virtual int {\bfseries rtti} () const
\item 
\mbox{\Hypertarget{classHistogram_a1f9b1b04e2fe51a4dbafcc1db73102bd}\label{classHistogram_a1f9b1b04e2fe51a4dbafcc1db73102bd}} 
virtual void \hyperlink{classHistogram_a1f9b1b04e2fe51a4dbafcc1db73102bd}{draw} (Q\+Painter $\ast$, const Qwt\+Scale\+Map \&x\+Map, const Qwt\+Scale\+Map \&y\+Map, const Q\+RectF \&) const
\begin{DoxyCompactList}\small\item\em The actual draw function, drawing the bars inside the plot widget. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classHistogram_a61cca67f5bde3331b6e2838c884f9ffc}\label{classHistogram_a61cca67f5bde3331b6e2838c884f9ffc}} 
void {\bfseries set\+Baseline} (double reference)
\item 
\mbox{\Hypertarget{classHistogram_a575dab029ad78f018f0d5fdc22e57541}\label{classHistogram_a575dab029ad78f018f0d5fdc22e57541}} 
double {\bfseries baseline} () const
\item 
\mbox{\Hypertarget{classHistogram_ab933a1b8535e3bdb971aa241faebbc97}\label{classHistogram_ab933a1b8535e3bdb971aa241faebbc97}} 
void {\bfseries set\+Histogram\+Attribute} (Histogram\+Attribute, bool on=true)
\item 
\mbox{\Hypertarget{classHistogram_a4c92e66868d16af72f78f0375df5afa8}\label{classHistogram_a4c92e66868d16af72f78f0375df5afa8}} 
bool {\bfseries test\+Histogram\+Attribute} (Histogram\+Attribute) const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classHistogram_acbd38329ecf94ff2407744c865e34f91}\label{classHistogram_acbd38329ecf94ff2407744c865e34f91}} 
virtual void \hyperlink{classHistogram_acbd38329ecf94ff2407744c865e34f91}{draw\+Bar} (Q\+Painter $\ast$, Qt\+::\+Orientation o, const Q\+Rect \&) const
\begin{DoxyCompactList}\small\item\em Draws a single bar. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classHistogram_a85895916dfdad39e9a2fccc7218d0816}\label{classHistogram_a85895916dfdad39e9a2fccc7218d0816}} 
Q\+Color {\bfseries color} (uint i) const
\item 
\mbox{\Hypertarget{classHistogram_ae7228f7aa6ff5aaf43b2bf9caf310379}\label{classHistogram_ae7228f7aa6ff5aaf43b2bf9caf310379}} 
void {\bfseries init} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classHistogram_a9810298c913881b7d8d2739864546ef5}\label{classHistogram_a9810298c913881b7d8d2739864546ef5}} 
Private\+Data $\ast$ {\bfseries d\+\_\+data}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classHistogram}{Histogram} plot. 

This plot can be used to render a plot. It provides the plot management and drawing functions for histograms. The data is supplied as Qwt\+Interval\+Data via \hyperlink{classHistogramItem_acc6d2ea50dbd32cb256e5d7da9a9b6f9}{Histogram\+Item\+::set\+Data()}. Additionally you can set colors for each bar, which are provided via \hyperlink{classHistogramItem_add39a3e4051e18e7b519c4489e551482}{Histogram\+Item\+::set\+Colors()} 

Definition at line 63 of file Qwt\+Histogramm.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classHistogram_a956cff73400162dd918663786d7df2cf}\label{classHistogram_a956cff73400162dd918663786d7df2cf}} 
\index{Histogram@{Histogram}!set\+Colors@{set\+Colors}}
\index{set\+Colors@{set\+Colors}!Histogram@{Histogram}}
\subsubsection{\texorpdfstring{set\+Colors()}{setColors()}}
{\footnotesize\ttfamily void Histogram\+::set\+Colors (\begin{DoxyParamCaption}\item[{std\+::vector$<$ Q\+Color $>$ \&}]{\+\_\+colors }\end{DoxyParamCaption})}



Set colors. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+colors} & A vector of colors. One for each interval in the same order. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classHistogram_ade62828c2ab32fc44f3b8106f025c704}\label{classHistogram_ade62828c2ab32fc44f3b8106f025c704}} 
\index{Histogram@{Histogram}!set\+Data@{set\+Data}}
\index{set\+Data@{set\+Data}!Histogram@{Histogram}}
\subsubsection{\texorpdfstring{set\+Data()}{setData()}}
{\footnotesize\ttfamily void Histogram\+::set\+Data (\begin{DoxyParamCaption}\item[{Qwt\+Interval\+Series\+Data $\ast$}]{data }\end{DoxyParamCaption})}



set data to render 


\begin{DoxyParams}{Parameters}
{\em data} & data provided as Qwt\+Interval\+Data \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Qwt\+Widgets/Qwt\+Histogramm.\+hh\end{DoxyCompactItemize}
