Version: 0.6.0
BubblePlot Class Reference

#include <bubbleplot.h>

Inheritance diagram for BubblePlot:
Collaboration diagram for BubblePlot:

Protected Member Functions

virtual bool AcceptAxis (Axis *axis)
 
virtual bool AcceptDataset (Dataset *dataset)
 
virtual void DrawDatasets (wxDC &dc, wxRect rc)
 
- Protected Member Functions inherited from AxisPlot
wxCoord GetAxesExtent (wxDC &dc, AxisArray *axes)
 
- Protected Member Functions inherited from Plot
 FIRE_WITH_THIS (PlotNeedRedraw)
 

Additional Inherited Members

- Public Types inherited from Observable< PlotObserver >
typedef PlotObserver Observer
 
- Public Member Functions inherited from AxisPlot
void AddAxis (Axis *axis)
 
void AddDataset (Dataset *dataset)
 
void RemoveDataset (Dataset *dataset)
 
void RemoveDataset (size_t index)
 
void AddObjects (Dataset *dataset, Axis *verticalAxis, Axis *horizontalAxis)
 
size_t GetDatasetCount ()
 
DatasetGetDataset (size_t index)
 
void LinkDataHorizontalAxis (size_t nData, size_t nAxis)
 
void LinkDataVerticalAxis (size_t nData, size_t nAxis)
 
AxisGetDatasetAxis (Dataset *dataset, size_t index, bool vertical)
 
AxisGetDatasetAxis (Dataset *dataset, bool vertical)
 
AxisGetDatasetVerticalAxis (Dataset *dataset)
 
AxisGetDatasetHorizontalAxis (Dataset *dataset)
 
DatasetGetAxisDataset (Axis *axis, size_t index)
 
void SetDrawGrid (bool drawGridVertical, bool drawGridHorizontal)
 
void SetDataBackground (AreaDraw *dataBackground)
 
void SetLegend (Legend *legend)
 
void SetCrosshair (Crosshair *crosshair)
 
bool ToDataCoords (size_t nData, wxDC &dc, wxRect rc, wxCoord gx, wxCoord gy, double *x, double *y)
 
virtual void NeedRedraw (DrawObject *obj)
 
virtual void DatasetChanged (Dataset *dataset)
 
virtual void AxisChanged (Axis *axis)
 
virtual void BoundsChanged (Axis *axis)
 
virtual void ChartMouseDown (wxPoint &pt, int key)
 
- Public Member Functions inherited from Plot
virtual void Draw (wxDC &dc, wxRect rc)
 
virtual void DrawNoDataMessage (wxDC &dc, wxRect rc)
 
void SetChartPanel (wxChartPanel *chartPanel)
 
wxChartPanelGetChartPanel ()
 
void SetBackground (AreaDraw *background)
 
void SetTextNoData (const wxString &textNoData)
 
- Public Member Functions inherited from Observable< PlotObserver >
void AddObserver (PlotObserver *_observer)
 
void RemoveObserver (PlotObserver *_observer)
 
- Public Member Functions inherited from ChartPanelObserver
virtual void ChartEnterWindow ()
 
virtual void ChartMouseUp (wxPoint &pt, int key)
 
virtual void ChartMouseMove (wxPoint &pt)
 
virtual void ChartMouseDrag (wxPoint &pt)
 
virtual void ChartMouseWheel (int rotation)
 
- Public Attributes inherited from Observable< PlotObserver >
std::vector< PlotObserver * >
::iterator 
OIt
 
- Protected Attributes inherited from Observable< PlotObserver >
std::vector< PlotObserver * > observers
 

Detailed Description

Used to draw bubble charts.

Member Function Documentation

bool BubblePlot::AcceptAxis ( Axis axis)
protectedvirtual

Checks whether axis is acceptable with this plot.

Parameters
axisaxis to be checked
Returns
true if axis can be accepted, false overwise

Implements AxisPlot.

bool BubblePlot::AcceptDataset ( Dataset dataset)
protectedvirtual

Checks whether dataset is acceptable with this plot.

Parameters
datasetdataset to be checked
Returns
true if dataset can be accepted, false overwise

Implements AxisPlot.

void BubblePlot::DrawDatasets ( wxDC &  dc,
wxRect  rc 
)
protectedvirtual

Called to draw all datasets.

Parameters
dcdevice context
rcrectangle where to draw

Implements AxisPlot.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/freechart/wx/xyz/bubbleplot.h
  • /home/bishop/work/projects/nextgismanager/src/freechart/xyz/bubbleplot.cpp