Click or drag to resize

APIgetDataPlot Method

Get plot of the given user data in a PNG image
REST path: /function/plotdata/[transparent]/[name]/[color]/[useDots]/[lineWidth]/[lineDashStyle]
REST verb: GET
REST header: {"xseries", xseries}, {"yseries", yseries}, {"Xunits", Xunits}, {"Yunits", Yunits}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.8.2.4 (2.8.2.4)
Syntax
public byte[] getDataPlot(
	double[] xseries,
	double[] yseries,
	bool transparent,
	string name = "",
	string Xunits = "",
	string Yunits = "",
	int color = 0,
	bool useDots = true,
	float lineWidth = 1f,
	int lineDashStyle = 0
)

Parameters

xseries  Double
X series of user data
yseries  Double
Y series of user data
transparent  Boolean
If true, set transparent background
name  String  (Optional)
Optional. Title of the plot
Xunits  String  (Optional)
Optional. Units for x axis
Yunits  String  (Optional)
Optional. Units for y axis
color  Int32  (Optional)
Optional. Default is 0 (black)
useDots  Boolean  (Optional)
Optional. Default is false
lineWidth  Single  (Optional)
Optional. Default is 1 pt
lineDashStyle  Int32  (Optional)
Optional. Default is 0 (solid), 1 dash, 2 dot, 3 dashdot

Return Value

Byte
Array of bytes
See Also