setLineWidth method

void setLineWidth(
  1. double width
)

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

@param width

Implementation

void setLineWidth(double width) {
  if (width < 0.2) width = 0.2;
  if (width > 12.0) width = 12.0;
  _lineWidth = Utils.convertDpToPixel(width);
}