direction property

num get direction

Gets or sets the direction the graph grows towards. 0 is towards the right, 90 is downwards, 180 is towards the left, and 270 is upwards. The default value is 0.

Implementation

_i2.num get direction => _i4.getProperty(
      this,
      'direction',
    );
set direction (num value)

Implementation

set direction(_i2.num value) {
  _i4.setProperty(
    this,
    'direction',
    value,
  );
}