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

◆ qpwEnableAxis()

int qpwEnableAxis ( PARAM p,
int  id,
int  pos 
)
pos = yLeft | yRight | xBottom | xTop

◆ qpwEnableGridXMin()

int qpwEnableGridXMin ( PARAM p,
int  id 
)
enable grid

◆ qpwEnableLegend()

int qpwEnableLegend ( PARAM p,
int  id,
int  val 
)
val = 0|1

◆ qpwEnableOutline()

int qpwEnableOutline ( PARAM p,
int  id,
int  val 
)
val = 0|1

◆ qpwInsertCurve()

int qpwInsertCurve ( PARAM p,
int  id,
int  index,
const char *  text 
)
index = index of curve 0...

◆ qpwInsertLineMarker()

int qpwInsertLineMarker ( PARAM p,
int  id,
int  index,
const char *  text,
int  pos 
)
index = index of marker 0...
pos = yLeft | yRight | xBottom | xTop

◆ qpwInsertMarker()

int qpwInsertMarker ( PARAM p,
int  id,
int  index 
)
index = index of marker 0...

◆ qpwRemoveCurve()

int qpwRemoveCurve ( PARAM p,
int  id,
int  index 
)
index = index of curve 0...

◆ qpwReplot()

int qpwReplot ( PARAM p,
int  id 
)
replot the widget

◆ qpwSetAutoLegend()

int qpwSetAutoLegend ( PARAM p,
int  id,
int  val 
)
val = 0|1

◆ qpwSetAxisMaxMajor()

int qpwSetAxisMaxMajor ( PARAM p,
int  id,
int  pos,
int  val 
)
pos = yLeft | yRight | xBottom | xTop

◆ qpwSetAxisMaxMinor()

int qpwSetAxisMaxMinor ( PARAM p,
int  id,
int  pos,
int  val 
)
pos = yLeft | yRight | xBottom | xTop

◆ qpwSetAxisOptions()

int qpwSetAxisOptions ( PARAM p,
int  id,
int  pos,
int  val 
)
pos = yLeft | yRight | xBottom | xTop
val = QwtAutoscale.

◆ qpwSetAxisScale()

int qpwSetAxisScale ( PARAM p,
int  id,
int  pos,
float  min,
float  max,
float  step 
)
pos = yLeft | yRight | xBottom | xTop

◆ qpwSetAxisScaleDraw()

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

◆ qpwSetAxisTitle()

int qpwSetAxisTitle ( PARAM p,
int  id,
int  pos,
const char *  text 
)
pos = yLeft | yRight | xBottom | xTop

◆ qpwSetBufferedCurveData()

int qpwSetBufferedCurveData ( PARAM p,
int  id,
int  c 
)
Set/Overwrite a curve
See pvXYAllocate
c = index of curve

◆ qpwSetCanvasBackground()

int qpwSetCanvasBackground ( PARAM p,
int  id,
int  r,
int  g,
int  b 
)
Set the background color of the canvas

◆ qpwSetCurveData()

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

◆ qpwSetCurvePen()

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.

◆ qpwSetCurveSymbol()

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.

◆ qpwSetCurveYAxis()

int qpwSetCurveYAxis ( PARAM p,
int  id,
int  index,
int  pos 
)
index = index of curve 0...
pos = yLeft | yRight | xBottom | xTop

◆ qpwSetGridMajPen()

int qpwSetGridMajPen ( PARAM p,
int  id,
int  r,
int  g,
int  b,
int  style 
)
style = PenStyle.

◆ qpwSetGridMinPen()

int qpwSetGridMinPen ( PARAM p,
int  id,
int  r,
int  g,
int  b,
int  style 
)
style = PenStyle.

◆ qpwSetLegendFrameStyle()

int qpwSetLegendFrameStyle ( PARAM p,
int  id,
int  style 
)
style = Shape | Shadow

◆ qpwSetLegendPos()

int qpwSetLegendPos ( PARAM p,
int  id,
int  pos 
)
pos = Left   |
      Right  |
      Top    |
      Bottom |
      Center |

◆ qpwSetMarkerFont()

int qpwSetMarkerFont ( PARAM p,
int  id,
int  index,
const char *  family,
int  size,
int  style 
)
index = index of marker 0...
style =

◆ qpwSetMarkerLabel()

int qpwSetMarkerLabel ( PARAM p,
int  id,
int  number,
const char *  text 
)
number = Number of Marker
text = Text to out

◆ qpwSetMarkerLabelAlign()

int qpwSetMarkerLabelAlign ( PARAM p,
int  id,
int  index,
int  align 
)
index = index of marker 0...

◆ qpwSetMarkerLineStyle()

int qpwSetMarkerLineStyle ( PARAM p,
int  id,
int  index,
int  style 
)
index = index of marker 0...
style = NoLine | HLine | VLine | Cross

◆ qpwSetMarkerPen()

int qpwSetMarkerPen ( PARAM p,
int  id,
int  index,
int  r,
int  g,
int  b,
int  style 
)
index = index of marker 0...
style =

◆ qpwSetMarkerPos()

int qpwSetMarkerPos ( PARAM p,
int  id,
int  index,
float  x,
float  y 
)
index = index of marker 0...
style =

◆ qpwSetMarkerSymbol()

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.

◆ qpwSetOutlinePen()

int qpwSetOutlinePen ( PARAM p,
int  id,
int  r,
int  g,
int  b 
)
Set outine pen color

◆ qpwSetTitle()

int qpwSetTitle ( PARAM p,
int  id,
const char *  text 
)
Set the title of the plot