AspectRatio(
  aspectRatio: 16 / 9,
  child: DChartBarO(
    layoutMargin: LayoutMargin(40, 10, 10, 10),
    configRenderBar: ConfigRenderBar(
      barGroupInnerPaddingPx: 0,
      maxBarWidthPx: 10,
    ),
    domainAxis: DomainAxis(
      showLine: true,
      lineStyle: LineStyle(color: Colors.grey.shade300),
      tickLength: 0,
      useGridLine: true,
      gridLineStyle: LineStyle(color: Colors.grey.shade300),
      gapAxisToLabel: 12,
      labelStyle: const LabelStyle(
        fontSize: 10,
        color: Colors.black54,
      ),
    ),
    measureAxis: MeasureAxis(
      useGridLine: true,
      gridLineStyle: LineStyle(color: Colors.grey.shade300),
      gapAxisToLabel: 8,
      numericTickProvider: const NumericTickProvider(
        desiredMinTickCount: 4,
        desiredMaxTickCount: 8,
      ),
      tickLength: 0,
      labelStyle: const LabelStyle(
        fontSize: 10,
        color: Colors.black54,
      ),
    ),
    groupList: [
      OrdinalGroup(
        id: '1',
        data: series1,
        color: Colors.lightBlue,
      ),
      OrdinalGroup(
        id: '2',
        data: series2,
        color: Colors.deepPurple,
      ),
    ],
  ),
),