ProcessViewBrowser-ServerProgramming
Functions
QwtPlotWidget

Functions

int qpwSetCurveData (PARAM *p, int id, int c, int count, double *x, double *y)
int qpwSetBufferedCurveData (PARAM *p, int id, int c)
int qpwReplot (PARAM *p, int id)
int qpwSetTitle (PARAM *p, int id, const char *text)
int qpwSetCanvasBackground (PARAM *p, int id, int r, int g, int b)
int qpwEnableOutline (PARAM *p, int id, int val)
int qpwSetOutlinePen (PARAM *p, int id, int r, int g, int b)
int qpwSetAutoLegend (PARAM *p, int id, int val)
int qpwEnableLegend (PARAM *p, int id, int val)
int qpwSetLegendPos (PARAM *p, int id, int pos)
int qpwSetLegendFrameStyle (PARAM *p, int id, int style)
int qpwEnableGridXMin (PARAM *p, int id)
int qpwSetGridMajPen (PARAM *p, int id, int r, int g, int b, int style)
int qpwSetGridMinPen (PARAM *p, int id, int r, int g, int b, int style)
int qpwEnableAxis (PARAM *p, int id, int pos)
int qpwSetAxisTitle (PARAM *p, int id, int pos, const char *text)
int qpwSetAxisOptions (PARAM *p, int id, int pos, int val)
int qpwSetAxisMaxMajor (PARAM *p, int id, int pos, int val)
int qpwSetAxisMaxMinor (PARAM *p, int id, int pos, int val)
int qpwInsertCurve (PARAM *p, int id, int index, const char *text)
int qpwRemoveCurve (PARAM *p, int id, int index)
int qpwSetCurvePen (PARAM *p, int id, int index, int r, int g, int b, int width=1, int style=SolidLine)
int qpwSetCurveSymbol (PARAM *p, int id, int index, int symbol, int r1, int g1, int b1, int r2, int g2, int b2, int w, int h)
int qpwSetCurveYAxis (PARAM *p, int id, int index, int pos)
int qpwInsertMarker (PARAM *p, int id, int index)
int qpwSetMarkerLineStyle (PARAM *p, int id, int index, int style)
int qpwSetMarkerPos (PARAM *p, int id, int index, float x, float y)
int qpwSetMarkerLabelAlign (PARAM *p, int id, int index, int align)
int qpwSetMarkerPen (PARAM *p, int id, int index, int r, int g, int b, int style)
int qpwSetMarkerLabel (PARAM *p, int id, int number, const char *text)
int qpwSetMarkerFont (PARAM *p, int id, int index, const char *family, int size, int style)
int qpwSetMarkerSymbol (PARAM *p, int id, int index, int symbol, int r1, int g1, int b1, int r2, int g2, int b2, int w, int h)
int qpwInsertLineMarker (PARAM *p, int id, int index, const char *text, int pos)
int qpwSetAxisScaleDraw (PARAM *p, int id, int pos, const char *text)
int qpwSetAxisScale (PARAM *p, int id, int pos, float min, float max, float step)

Detailed Description

Commands for the QwtPlotWidget


Function Documentation

int qpwEnableAxis ( PARAM p,
int  id,
int  pos 
)
pos = yLeft | yRight | xBottom | xTop
int qpwEnableGridXMin ( PARAM p,
int  id 
)
enable grid
int qpwEnableLegend ( PARAM p,
int  id,
int  val 
)
val = 0|1
int qpwEnableOutline ( PARAM p,
int  id,
int  val 
)
val = 0|1
int qpwInsertCurve ( PARAM p,
int  id,
int  index,
const char *  text 
)
index = index of curve 0...
int qpwInsertLineMarker ( PARAM p,
int  id,
int  index,
const char *  text,
int  pos 
)
index = index of marker 0...
pos = yLeft | yRight | xBottom | xTop
int qpwInsertMarker ( PARAM p,
int  id,
int  index 
)
index = index of marker 0...
int qpwRemoveCurve ( PARAM p,
int  id,
int  index 
)
index = index of curve 0...
int qpwReplot ( PARAM p,
int  id 
)
replot the widget
int qpwSetAutoLegend ( PARAM p,
int  id,
int  val 
)
val = 0|1
int qpwSetAxisMaxMajor ( PARAM p,
int  id,
int  pos,
int  val 
)
pos = yLeft | yRight | xBottom | xTop
int qpwSetAxisMaxMinor ( PARAM p,
int  id,
int  pos,
int  val 
)
pos = yLeft | yRight | xBottom | xTop
int qpwSetAxisOptions ( PARAM p,
int  id,
int  pos,
int  val 
)
pos = yLeft | yRight | xBottom | xTop
val = QwtAutoscale.
int qpwSetAxisScale ( PARAM p,
int  id,
int  pos,
float  min,
float  max,
float  step 
)
pos = yLeft | yRight | xBottom | xTop
int qpwSetAxisScaleDraw ( PARAM p,
int  id,
int  pos,
const char *  text 
)
pos = yLeft | yRight | xBottom | xTop
text = format yyyy-MM-dd hh:mm:ss as QDateTime.toString
int qpwSetAxisTitle ( PARAM p,
int  id,
int  pos,
const char *  text 
)
pos = yLeft | yRight | xBottom | xTop
int qpwSetBufferedCurveData ( PARAM p,
int  id,
int  c 
)
Set/Overwrite a curve
See pvXYAllocate
c = index of curve
int qpwSetCanvasBackground ( PARAM p,
int  id,
int  r,
int  g,
int  b 
)
Set the background color of the canvas
int qpwSetCurveData ( PARAM p,
int  id,
int  c,
int  count,
double *  x,
double *  y 
)
Set/Overwrite a curve
c = index of curve
count = number of coordinates in x,y
int qpwSetCurvePen ( PARAM p,
int  id,
int  index,
int  r,
int  g,
int  b,
int  width = 1,
int  style = SolidLine 
)
index = index of curve 0...
style = PenStyle.
int qpwSetCurveSymbol ( PARAM p,
int  id,
int  index,
int  symbol,
int  r1,
int  g1,
int  b1,
int  r2,
int  g2,
int  b2,
int  w,
int  h 
)
index = index of curve 0...
symbol = MarkerSymbol.
int qpwSetCurveYAxis ( PARAM p,
int  id,
int  index,
int  pos 
)
index = index of curve 0...
pos = yLeft | yRight | xBottom | xTop
int qpwSetGridMajPen ( PARAM p,
int  id,
int  r,
int  g,
int  b,
int  style 
)
style = PenStyle.
int qpwSetGridMinPen ( PARAM p,
int  id,
int  r,
int  g,
int  b,
int  style 
)
style = PenStyle.
int qpwSetLegendFrameStyle ( PARAM p,
int  id,
int  style 
)
style = Shape | Shadow
int qpwSetLegendPos ( PARAM p,
int  id,
int  pos 
)
pos = Left   |
      Right  |
      Top    |
      Bottom |
      Center |
int qpwSetMarkerFont ( PARAM p,
int  id,
int  index,
const char *  family,
int  size,
int  style 
)
index = index of marker 0...
style =
int qpwSetMarkerLabel ( PARAM p,
int  id,
int  number,
const char *  text 
)
number = Number of Marker
text = Text to out
int qpwSetMarkerLabelAlign ( PARAM p,
int  id,
int  index,
int  align 
)
index = index of marker 0...
int qpwSetMarkerLineStyle ( PARAM p,
int  id,
int  index,
int  style 
)
index = index of marker 0...
style = NoLine | HLine | VLine | Cross
int qpwSetMarkerPen ( PARAM p,
int  id,
int  index,
int  r,
int  g,
int  b,
int  style 
)
index = index of marker 0...
style =
int qpwSetMarkerPos ( PARAM p,
int  id,
int  index,
float  x,
float  y 
)
index = index of marker 0...
style =
int qpwSetMarkerSymbol ( PARAM p,
int  id,
int  index,
int  symbol,
int  r1,
int  g1,
int  b1,
int  r2,
int  g2,
int  b2,
int  w,
int  h 
)
index = index of marker 0...
symbol = MarkerSymbol.
int qpwSetOutlinePen ( PARAM p,
int  id,
int  r,
int  g,
int  b 
)
Set outine pen color
int qpwSetTitle ( PARAM p,
int  id,
const char *  text 
)
Set the title of the plot
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines