LineChart constructor

LineChart(
  1. List<ChartLine> lines,
  2. Dates fromTo, {
  3. bool? showMonthsName,
  4. FontWeight? tapTextFontWeight,
  5. String? yAxisName,
  6. String formatHoursMinutes = 'kk:mm',
  7. String formatDayMonth = 'dd/MM',
  8. String formatMonths = 'MMMM',
})

Implementation

LineChart(this.lines, this.fromTo,
    {this.showMonthsName,
    this.tapTextFontWeight,
    this.yAxisName,
    String formatHoursMinutes = 'kk:mm',
    String formatDayMonth = 'dd/MM',
    String formatMonths = 'MMMM'})
    : this._formatHoursMinutes = DateFormat(formatHoursMinutes),
      this._formatDayMonth = DateFormat(formatDayMonth),
      this._formatMonths = DateFormat(formatMonths);