Adds a curve or set of points to this plot, where 'type' is "line", "connected circle", "filled", "bar", "separated bar", "circle", "box", "triangle", "diamond", "cross", "x" or "dot". Run Help>Examples>JavaScript>Graph Types to see examples. If 'type' is in the form "code: <macroCod
(String type, double[] xvalues, double[] yvalues)
| 811 | * writes the y value for each point above the point. |
| 812 | */ |
| 813 | public void add(String type, double[] xvalues, double[] yvalues) { |
| 814 | int iShape = toShape(type); |
| 815 | addPoints(Tools.toFloat(xvalues), Tools.toFloat(yvalues), null, iShape, iShape==CUSTOM?type.substring(5, type.length()):null); |
| 816 | } |
| 817 | |
| 818 | /** Replaces the specified plot object (curve or set of points). |
| 819 | * Equivalent to add() if there are no plot objects. */ |
no test coverage detected