\doxysection{Histogram Class Reference}
\hypertarget{class_histogram}{}\label{class_histogram}\index{Histogram@{Histogram}}


\doxylink{class_histogram}{Histogram} class. Inheritance from class \doxylink{class_proportional}{Proportional}.  




{\ttfamily \#include $<$histogram.\+hpp$>$}

Inheritance diagram for Histogram\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_histogram}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_histogram_a7c392205ea07cb1b13a95e8d6f03c686}{set\+Bin\+Count}} (const unsigned int bin\+Count)
\begin{DoxyCompactList}\small\item\em Set the bin count for e.\+g. histogram. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_histogram_a67e3eb72688a08def214e9e2be44c3a9}{set\+Data}} (const std\+::vector$<$ double $>$ \&data1D)
\begin{DoxyCompactList}\small\item\em Set 1D data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{class_proportional}{Proportional}}}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_proportional_a12b7f1873b5e1c1fd9f0609200887869}{set\+Wx\+Plot\+Type}} (const WXPLOT\+\_\+\+TYPE \mbox{\hyperlink{class_proportional_a59c22dea060000ff0311adccbb86853e}{wx\+Plot\+Type}})
\begin{DoxyCompactList}\small\item\em Set the plot type selection. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a1007efe8dc6a53a6d1847ccda9832bcc}{set\+Font\+Size}} (const unsigned int \mbox{\hyperlink{class_proportional_ad720e3893080fc6963db87ebf1eac016}{font\+Size}})
\begin{DoxyCompactList}\small\item\em Set the size of the fonts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a8d9bba5c5f06f5b17525de90674e67b6}{set\+Title}} (const wx\+String \&\mbox{\hyperlink{class_proportional_a50a20741cb345d1410d2d2c6b913991a}{title}})
\begin{DoxyCompactList}\small\item\em Set the title of the plot. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a6d734ebe613997c7aea77b22932a6a58}{set\+Xlabel}} (const wx\+String \&\mbox{\hyperlink{class_proportional_add35a2a7a59f42184132900ea680e1ac}{x\+Label}})
\begin{DoxyCompactList}\small\item\em Set the name of the X-\/label. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a8c64c0a09b2318e117e88d1bcc12d733}{set\+Ylabel}} (const wx\+String \&\mbox{\hyperlink{class_proportional_af1c51e637088c51cdcd690e6146f36e4}{y\+Label}})
\begin{DoxyCompactList}\small\item\em Set the name of the Y-\/label. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a2e443e66e0af535ce00caf87f6122075}{set\+Ticks}} (const unsigned int \mbox{\hyperlink{class_proportional_a1776dacf5d8f7a32544327362b8f07b2}{ticks}})
\begin{DoxyCompactList}\small\item\em Set the number of ticks at the figure in all axis. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a3b90e4622086694d42b8ccbdc719fd14}{grid\+On}} (const bool \mbox{\hyperlink{class_proportional_a767392b84e72521158f28189f50ed228}{use\+Grid}})
\begin{DoxyCompactList}\small\item\em Enable grid on the figure. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_abc98284faca3e5816b0696b183bef230}{set\+Plot\+Start\+Width}} (const wx\+Coord \mbox{\hyperlink{class_proportional_a787d6e92734b225e71337049493acd8c}{plot\+Start\+Width}})
\begin{DoxyCompactList}\small\item\em Set the left upper corner in X-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_af52b3ca174c0ecd3f03bf1fb7e0001d6}{set\+Plot\+Start\+Height}} (const wx\+Coord \mbox{\hyperlink{class_proportional_a75bb9a65fda3055a90b831828df1a1b0}{plot\+Start\+Height}})
\begin{DoxyCompactList}\small\item\em Set the left upper corner in Y-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_aca32dde84c95cf2dc02090edc1465191}{set\+Plot\+End\+Width}} (const wx\+Coord \mbox{\hyperlink{class_proportional_ab188013bb02c135c59e6fe69822471eb}{plot\+End\+Width}})
\begin{DoxyCompactList}\small\item\em Set the right upper corner in X-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a46c9d0f4897c140f9a728da1665ed790}{set\+Plot\+End\+Height}} (const wx\+Coord \mbox{\hyperlink{class_proportional_a94db99dbecfd83bef56e4fd30a6e7ea5}{plot\+End\+Height}})
\begin{DoxyCompactList}\small\item\em Set the right bottom corner in Y-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a7d205ffc0e2c411da21dc5e010ca742e}{set\+Data}} (const std\+::vector$<$ std\+::vector$<$ double $>$ $>$ \&data2D)
\begin{DoxyCompactList}\small\item\em Set 2D data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a10091e6712d65a39c5563a9197fcb596}{set\+Data}} (const std\+::vector$<$ double $>$ \&data1D)
\begin{DoxyCompactList}\small\item\em Set 1D data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a786dcf2ae9ed347bce0bdd2a0be6f18a}{legend\+On}} (const bool \mbox{\hyperlink{class_proportional_abffd79cf1c81668ceb3367d8099c3f3d}{use\+Legend}})
\begin{DoxyCompactList}\small\item\em Activate the legend. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_ad8810399a877ff475b171fd6aca101b0}{set\+Legend}} (const std\+::vector$<$ wx\+String $>$ \&\mbox{\hyperlink{class_proportional_a14e6d669313f762686c4192857d802ba}{legend}}, const PLACEMENT \mbox{\hyperlink{class_proportional_a4aeae4b01a4bb44285cb2ecad2f6201f}{legend\+Position}}=PLACEMENT\+\_\+\+NORTH\+\_\+\+EAST)
\begin{DoxyCompactList}\small\item\em Set the labels and placement for the legend. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_aa30a0a702b739e1667427207efd13b77}{set\+Ylim}} (const double \mbox{\hyperlink{class_proportional_a27a325496f8befd62f22247ed481eb60}{minY}}, const double \mbox{\hyperlink{class_proportional_ae62c17d1d4138934b5622e5bf17ccdcc}{maxY}})
\begin{DoxyCompactList}\small\item\em Set the plot zoom limit in Y-\/axis. \end{DoxyCompactList}\item 
wx\+Coord \mbox{\hyperlink{class_proportional_a6016afb3eb59853e4f32a533665d7b9f}{get\+Plot\+Start\+Width}} () const
\begin{DoxyCompactList}\small\item\em Get the recalculated start width X-\/axis value. This value is recalculated after the figure is drawn. \end{DoxyCompactList}\item 
wx\+Coord \mbox{\hyperlink{class_proportional_a9150aae72ccfdf979367e9f6e14eae4a}{get\+Plot\+End\+Width}} () const
\begin{DoxyCompactList}\small\item\em Get the recalculated end width X-\/axis value. This value is recalculated after the figure is drawn. \end{DoxyCompactList}\item 
wx\+Coord \mbox{\hyperlink{class_proportional_a3cb76783f802a621cc80eac43aeffb32}{get\+Plot\+Start\+Height}} () const
\begin{DoxyCompactList}\small\item\em Get the recalculated start height Y-\/axis value. This value is recalculated after the figure is drawn. \end{DoxyCompactList}\item 
wx\+Coord \mbox{\hyperlink{class_proportional_adac5c89155e3c1aabfbce6e9ec7dde27}{get\+Plot\+End\+Height}} () const
\begin{DoxyCompactList}\small\item\em Get the recalculated end height Y-\/axis value. This value is recalculated after the figure is drawn. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_af3c9c6caddc6626e1a2157dc8d51048a}{draw\+Figure}} (wx\+DC \&dc)
\begin{DoxyCompactList}\small\item\em This function will do the following\+: \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_ab756d82fddabdd06f88f37ea66328fc3}{draw\+Grid}} (wx\+DC \&dc)
\begin{DoxyCompactList}\small\item\em This function will draw the grid. Call this function after you have drawn the plot type. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_add5843671f428e388116500e3f8d96f1}{draw\+Ticks}} (wx\+DC \&dc)
\begin{DoxyCompactList}\small\item\em This function will draw the ticks. Call this function after you have drawn the plot type. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_proportional_a02704074ac0529c731c69b7477772a6f}{draw\+Legend}} (wx\+DC \&dc)
\begin{DoxyCompactList}\small\item\em This function will draw the legend. Call this function after you have drawn the plot type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Additional Inherited Members}
\doxysubsection*{Protected Attributes inherited from \mbox{\hyperlink{class_proportional}{Proportional}}}
\begin{DoxyCompactItemize}
\item 
wx\+Coord {\bfseries plot\+End\+Width} = 0
\begin{DoxyCompactList}\small\item\em Location of right upper corner in X-\/axis. \end{DoxyCompactList}\item 
wx\+Coord {\bfseries plot\+End\+Height} = 0
\begin{DoxyCompactList}\small\item\em Location of right bottom corner in Y-\/axis. \end{DoxyCompactList}\item 
wx\+Coord {\bfseries plot\+Start\+Width} = 0
\begin{DoxyCompactList}\small\item\em Location of left upper corner in X-\/axis. \end{DoxyCompactList}\item 
wx\+Coord {\bfseries plot\+Start\+Height} = 0
\begin{DoxyCompactList}\small\item\em Location of left upper corner in Y-\/axis. \end{DoxyCompactList}\item 
double {\bfseries minX} = 0
\begin{DoxyCompactList}\small\item\em Minimum value of data in X-\/axis. \end{DoxyCompactList}\item 
double {\bfseries maxX} = 0
\begin{DoxyCompactList}\small\item\em Maximum value of data in X-\/axis. \end{DoxyCompactList}\item 
double {\bfseries minY} = 0
\begin{DoxyCompactList}\small\item\em Minimum value of data in Y-\/axis. \end{DoxyCompactList}\item 
double {\bfseries maxY} = 0
\begin{DoxyCompactList}\small\item\em Maximum value of data in Y-\/axis. \end{DoxyCompactList}\item 
unsigned int {\bfseries font\+Size} = 0
\begin{DoxyCompactList}\small\item\em The size of the all fonts. \end{DoxyCompactList}\item 
unsigned int {\bfseries ticks} = 0
\begin{DoxyCompactList}\small\item\em The number of ticks at the figure in all axis. \end{DoxyCompactList}\item 
bool {\bfseries use\+Grid} = false
\begin{DoxyCompactList}\small\item\em Flag for using grid or not. \end{DoxyCompactList}\item 
bool {\bfseries use\+Legend} = false
\begin{DoxyCompactList}\small\item\em Flag for using legend or not. \end{DoxyCompactList}\item 
wx\+String {\bfseries title}
\begin{DoxyCompactList}\small\item\em Title of the plot type. \end{DoxyCompactList}\item 
wx\+String {\bfseries x\+Label}
\begin{DoxyCompactList}\small\item\em Label under the plot type. \end{DoxyCompactList}\item 
wx\+String {\bfseries y\+Label}
\begin{DoxyCompactList}\small\item\em Label on the left side of the plot type. \end{DoxyCompactList}\item 
std\+::vector$<$ wx\+String $>$ {\bfseries legend}
\begin{DoxyCompactList}\small\item\em Vector of labels for the legend. \end{DoxyCompactList}\item 
PLACEMENT {\bfseries legend\+Position} = PLACEMENT\+\_\+\+NORTH\+\_\+\+WEST
\begin{DoxyCompactList}\small\item\em Location of the legend. \end{DoxyCompactList}\item 
WXPLOT\+\_\+\+TYPE {\bfseries wx\+Plot\+Type} = WXPLOT\+\_\+\+TYPE\+\_\+\+LINE
\begin{DoxyCompactList}\small\item\em Plot type selection. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\doxylink{class_histogram}{Histogram} class. Inheritance from class \doxylink{class_proportional}{Proportional}. 

\doxysubsection{Member Function Documentation}
\Hypertarget{class_histogram_a7c392205ea07cb1b13a95e8d6f03c686}\index{Histogram@{Histogram}!setBinCount@{setBinCount}}
\index{setBinCount@{setBinCount}!Histogram@{Histogram}}
\doxysubsubsection{\texorpdfstring{setBinCount()}{setBinCount()}}
{\footnotesize\ttfamily \label{class_histogram_a7c392205ea07cb1b13a95e8d6f03c686} 
void Histogram\+::set\+Bin\+Count (\begin{DoxyParamCaption}\item[{const unsigned int}]{bin\+Count}{}\end{DoxyParamCaption})}



Set the bin count for e.\+g. histogram. 


\begin{DoxyParams}{Parameters}
{\em bin\+Count} & Bin count is total columns inside a e.\+g historam chart. \\
\hline
\end{DoxyParams}
\Hypertarget{class_histogram_a67e3eb72688a08def214e9e2be44c3a9}\index{Histogram@{Histogram}!setData@{setData}}
\index{setData@{setData}!Histogram@{Histogram}}
\doxysubsubsection{\texorpdfstring{setData()}{setData()}}
{\footnotesize\ttfamily \label{class_histogram_a67e3eb72688a08def214e9e2be44c3a9} 
void Histogram\+::set\+Data (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ double $>$ \&}]{data1D}{}\end{DoxyParamCaption})}



Set 1D data. 


\begin{DoxyParams}{Parameters}
{\em data1D} & 1D data in form of 1D vector. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/danie/\+Documents/\+Git\+Hub/wx\+Plot/wx\+Plot/src/plots/plotfigures/2\+D/histogram/histogram.\+hpp\item 
C\+:/\+Users/danie/\+Documents/\+Git\+Hub/wx\+Plot/wx\+Plot/src/plots/plotfigures/2\+D/histogram/histogram.\+cpp\end{DoxyCompactItemize}
