﻿using ChartJS.NET.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChartJS.NET.Charts.Bar
{
    public class BarChart : BaseChart<BarDataSet, BarChartOptions>
    {
        private readonly BarChartOptions _barChartOptions = new BarChartOptions();

        public override Enums.ChartTypes ChartType { get { return Enums.ChartTypes.Pie; } }

        public override BarChartOptions ChartConfig
        {
            get { return _barChartOptions; }
        }
    }
}

﻿using ChartJS.NET.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChartJS.NET.Charts.Bar
{
    public class BarChart : BaseChart<BarDataSet, BarChartOptions>
    {
        private readonly BarChartOptions _barChartOptions = new BarChartOptions();

        public override Enums.ChartTypes ChartType { get { return Enums.ChartTypes.Bar; } }

        public override BarChartOptions ChartConfig
        {
            get { return _barChartOptions; }
        }
    }
}

Change bar chart type to bar instead of pie
Change bar chart type to bar instead of pie
