wxPlot 1.8 Real time plot library for wxWidgets

Loading...
Searching...
No Matches
bar.hpp
1#pragma once
2
3#include <vector>
4#include <wx/wx.h>
5#include "../line/line.hpp"
6
11 class Bar : public Line {
12 private:
13
14 public:
26 void draw(wxDC& dc, const double value, const unsigned int dataSize, const unsigned int colourIndex, const size_t i);
27};
Bar
Bar class. Inheritance from class Line.
Definition bar.hpp:11
Bar::draw
void draw(wxDC &dc, const double value, const unsigned int dataSize, const unsigned int colourIndex, const size_t i)
Draw the bar plot inside the rectangle. This is called by iteration. For example, this function is us...
Definition bar.cpp:4
Line
Line class. Does the most of the things in 2D.
Definition line.hpp:10