Skip to content

Commit

Permalink
feat: allow to change LimitLine limit
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Apr 9, 2022
1 parent 5e0d8ff commit 5432e9d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/charting/components/LimitLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ export class LimitLine extends ComponentBase {
return this.mLimit;
}

/**
* Update/change the limit that is set for this line.
*
* @return
*/
public setLimit(value) {
this.mLimit = value;
}

/**
* set the line width of the chart (min = 0.2f, max = 12f); default 2f NOTE:
* thinner line == better performance, thicker line == worse performance
Expand Down

0 comments on commit 5432e9d

Please sign in to comment.