<bit-c3-y-grid-line>

  • module
bit-c3.components.bit-c3-y-grid-line

{can.Component}

 

Chart Y grid line element

<bit-c3-y-grid value="" text="" position="" class="" />

Parameters

  1. value {Number}

    Value where the grid line will start from

  2. text {String}

    Label for the grid line

  3. position {String}

    Position of the grid line

  4. class {String}

    Class name applied to the label

Component Initialization

<bit-c3>
  <bit-c3-y-grid>
    <bit-c3-y-grid-line value="0" text="Break Even" class="label-0" position="middle" />
  </bit-c3-y-grid>
</bit-c3>