vdk 2.4.0
Public Member Functions | List of all members
VDKScatteredChart Class Reference

#include <chart.h>

Inheritance diagram for VDKScatteredChart:
VDKChart VDKCanvas VDKObject VDKNotCopyAble

Public Member Functions

virtual void Plot (VDKPoint &p, int t, Series *)
virtual int isA ()
- Public Member Functions inherited from VDKChart
 VDKChart (VDKForm *owner, int w=100, int h=100)
virtual ~VDKChart ()
void AddSeries (Series *s)
void Clear ()
GdkGC * GC ()
void SetColor (VDKRgb rgb)
void SetLineAttributes (gint lineWidth, GdkLineStyle lineStyle, GdkCapStyle capStyle, GdkJoinStyle joinStyle)
- Public Member Functions inherited from VDKCanvas
void Redraw ()
void SetForeground (VDKRgb color, GtkStateType state=GTK_STATE_NORMAL)
void SetBackground (VDKRgb color, GtkStateType state=GTK_STATE_NORMAL)
void SetFont (VDKFont *f)
- Public Member Functions inherited from VDKObject
VDKRgb GetBackground (GtkStateType state=GTK_STATE_NORMAL)
VDKRgb GetForeground (GtkStateType state=GTK_STATE_NORMAL)
 VDKObject (VDKForm *owner=NULL)
 VDKObject (VDKForm *owner, GtkWidget *widget)
virtual ~VDKObject ()
bool Destroy ()
VDKFormOwner ()
virtual GtkWidget * Widget ()
GtkWidget * ConnectingWidget ()
GtkWidget * WrappedWidget ()
VDKFontGetFont ()
void SetVisible (bool visible)
bool GetVisible ()
void SetCursor (VDKCursorType)
VDKCursorType GetCursor ()
void SetSize (int w, int h)
void SetUsize (VDKPoint s)
virtual void SetTip (char *)
virtual void Add (VDKObject *obj, int justify=l_justify, int expand=TRUE, int fill=TRUE, int padding=0)
ItemListItems ()
void Draw (GdkRectangle *area=NULL)
virtual void Setup ()
void SignalEmit (int signal)
void SignalEmit (char *sig)
void SignalEmitParent (int signal)
void SignalEmitParent (char *sig)
void GrabFocus ()
VDKObjectParent (VDKObject *p=NULL)
int SignalConnect (VDKObject *obj, char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false)
int SignalConnect (char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false)
bool SignalDisconnect (int connection)
int EventConnect (VDKObject *obj, char *event, bool(VDKObject::*method)(VDKObject *, GdkEvent *), bool after=false)
int EventConnect (char *, bool(VDKObject::*)(VDKObject *, GdkEvent *), bool after=false)
bool EventDisconnect (int connection)

Additional Inherited Members

- Public Attributes inherited from VDKChart
VDKReadWriteValueProp
< VDKChart, int > 
ChartBorder
VDKReadWriteValueProp
< VDKChart, VDKString
Title
VDKReadWriteValueProp
< VDKChart, VDKString
LabelX
VDKReadWriteValueProp
< VDKChart, VDKString
LabelY
VDKReadWriteValueProp
< VDKChart, int > 
LabelXDigits
VDKReadWriteValueProp
< VDKChart, int > 
LabelYDigits
- Protected Attributes inherited from VDKObject
VDKObjectSignal s_clicked
GtkWidget * widget
GtkWidget * sigwid
VDKObjectparent

Detailed Description

a line chart

Member Function Documentation

virtual int VDKScatteredChart::isA ( )
inlinevirtual

Returns chart_class

Reimplemented from VDKChart.

void VDKScatteredChart::Plot ( VDKPoint p,
int  i,
Series s 
)
virtual

Plots data,placeholder for subclasses.

Parameters
ppoint to be plotted
ii-th point of the series
sseries address
Programming tips
Items p contains coordinates ready to be plotted, scaled or resized to chart size and data domain.

Reimplemented from VDKChart.


The documentation for this class was generated from the following files: