wxFreeChart
|
ChartPanel is wxWidgets panel for displaying chart. More...
#include <chartpanel.h>
Public Member Functions | |
wxChartPanel (wxWindow *parent, wxWindowID=wxID_ANY, Chart *chart=NULL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
void | SetChart (Chart *chart) |
Sets chart. More... | |
Chart * | GetChart () |
Returns chart. More... | |
void | SetMode (ChartPanelMode *mode) |
Sets chart panel mode, eg. More... | |
void | SetAntialias (bool antialias) |
Turn antialiasing on/off. More... | |
bool | GetAntialias () |
Checks whether antialiasing is enabled. More... | |
wxBitmap | CopyBackbuffer () |
Returns back buffer copy as wxBitmap. More... | |
virtual void | ChartChanged (Chart *chart) |
virtual void | ChartScrollsChanged (Chart *chart) |
void | RedrawBackBitmap () |
ChartPanel is wxWidgets panel for displaying chart.
Definition at line 34 of file chartpanel.h.
wxBitmap wxChartPanel::CopyBackbuffer | ( | ) |
Returns back buffer copy as wxBitmap.
Can be used to save chart image to file.
bool wxChartPanel::GetAntialias | ( | ) |
Checks whether antialiasing is enabled.
Chart* wxChartPanel::GetChart | ( | ) |
Returns chart.
void wxChartPanel::SetAntialias | ( | bool | antialias | ) |
Turn antialiasing on/off.
Has effect only when wx wxUSE_GRAPHICS_CONTEXT is set in wxWidgets build. Warning: this feature can dramatically lower rendering performance.
antialias | true to turn on antialiasing. |
void wxChartPanel::SetChart | ( | Chart * | chart | ) |
Sets chart.
chart | new chart |
void wxChartPanel::SetMode | ( | ChartPanelMode * | mode | ) |
Sets chart panel mode, eg.
zoom, pan, etc.
mode | mode |