Interface: LinearGradientColorObject

Highcharts. LinearGradientColorObject

Defines the start position and the end position for a gradient relative to the shape. Start position (x1, y1) and end position (x2, y2) are relative to the shape, where 0 means top/left and 1 is bottom/right.

成员

x1 :number

Start horizontal position of the gradient. Float ranges 0-1.

Type:
  • number

x2 :number

End horizontal position of the gradient. Float ranges 0-1.

Type:
  • number

y1 :number

Start vertical position of the gradient. Float ranges 0-1.

Type:
  • number

y2 :number

End vertical position of the gradient. Float ranges 0-1.

Type:
  • number