• Jump To … +
    ChartMain.js core.js index.js internal.js internalArea.js internalBar.js internalBarLeft.js internalDonutChart.js internalLine.js internalScatter.js internalWaffle.js AreaChart.js BarChart.js BarChartLeft.js DonutChart.js LineChart.js ScatterChart.js WaffleChart.js charts.js data.js errors.js themes.js utils.js
  • charts.js

  • ¶
    import { BarChart } from '../subModules/BarChart';
    import { LineChart } from '../subModules/LineChart';
    import { DonutChart } from '../subModules/DonutChart';
    import { ScatterChart } from '../subModules/ScatterChart';
    import { WaffleChart } from '../subModules/WaffleChart';
    import { BarChartLeft } from '../subModules/BarChartLeft';
    import { AreaChart } from '../subModules/AreaChart';
  • ¶

    This holds all our chart types within main library. A subclass exists for each chart type.

    /*
    @private
    */
    
    const charts = {
      BarChart,
      LineChart,
      DonutChart,
      ScatterChart,
      WaffleChart,
      BarChartLeft,
      AreaChart,
    };
    
    export default charts;