Go to the previous, next section.
#include <CNCL/EZDDiagWin.h>
CN_EZDDIAGWIN
EZD
None
None
EZDDiagWin craetes a named window including a diagram. Actually
there are three different styles (as an enum) implemeted in this class:
EZDDiagWin();
EZDDiagWin(CNParam *param);
EZDDiagWin(int w, int h, Style s=LINE);
EZDDiagWin(CNStringR n, int w, int h, Style s=LINE);
EZDDiagWin(CNStringR n, CNStringR title, int w, int h, Style s=LINE);
EZDDiagWin(CNStringR n, CNStringR title, int w, int h, int st, CNStringR cd, CNStringR cb,
Style s=LINE);
EZDDiagwin. title is the title of the
window, w and h the window's width and height. st
is the size of a step between two values (default: 1), cd is the
color of the diagram, cb the color of the bar (out-of-range
display), s the style of the diagram.
CNEZDDiagWin
provides:
void style(Style s);
s.
void add(int v);
v at the current x-position to the diagram.
void clear();
void set();
Go to the previous, next section.