millionchart
فارسی

Polylines reference

The 2 functions and 1 value of polyline: signature, effects, phase, cost and tested examples.

A line drawn through a list of chart points.

Functions#

polyline.delete#

polyline.delete([polyline])

Removes the object from the chart.

  • Effects: draws on the chart or writes an output.
  • Phase: every bar.
  • Cost: counts against the limits on drawn objects and outputs.

polyline.new#

polyline.new([points], [curved], [closed], [x_unit], [color], [style], [width])

Draws a line through a list of points.

  • Effects: draws on the chart or writes an output; builds a new value whose size follows its arguments (counted in the memory ledger).
  • Phase: every bar.
  • Cost: allocates: the memory ledger counts what it builds; counts against the limits on drawn objects and outputs.
  • Returns: a polyline.
  • Examples: Swing high path.

Values#

  • polyline.all