setLineWidth method

void setLineWidth (
  1. double width
)

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

@param width

Implementation

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