define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./StackedBarChart.Basic.Example", "./StackedBarChart.Benchmark.Example", "./StackedBarChart.Multiple.Example", "./StackedBarChart.Dynamic.Example", "./MultiStackedBarChart.Example", "./StackedBarChart.BaseBar.Example", "./MultiStackedBarChartWithPlaceHolder.Example"], function (require, exports, tslib_1, React, example_app_base_1, StackedBarChart_Basic_Example_1, StackedBarChart_Benchmark_Example_1, StackedBarChart_Multiple_Example_1, StackedBarChart_Dynamic_Example_1, MultiStackedBarChart_Example_1, StackedBarChart_BaseBar_Example_1, MultiStackedBarChartWithPlaceHolder_Example_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var StackedBarChartBasicExampleCode = require('!raw-loader!@fluentui/react-examples/src/charting/StackedBarChart/StackedBarChart.Basic.Example.tsx');
    var StackedBarChartBenchmarkExampleCode = require('!raw-loader!@fluentui/react-examples/src/charting/StackedBarChart/StackedBarChart.Benchmark.Example.tsx');
    var StackedBarChartMultipleExampleCode = require('!raw-loader!@fluentui/react-examples/src/charting/StackedBarChart/StackedBarChart.Multiple.Example.tsx');
    var StackedBarChartDynamicExampleCode = require('!raw-loader!@fluentui/react-examples/src/charting/StackedBarChart/StackedBarChart.Dynamic.Example.tsx');
    var MultiStackedBarChartExampleCode = require('!raw-loader!@fluentui/react-examples/src/charting/StackedBarChart/MultiStackedBarChart.Example.tsx');
    var StackedBarChartBaseBarExampleCode = require('!raw-loader!@fluentui/react-examples/src/charting/StackedBarChart/StackedBarChart.BaseBar.Example.tsx');
    var MultiStackedBarChartWithPlaceholderExampleCode = require('!raw-loader!@fluentui/react-examples/src/charting/StackedBarChart/MultiStackedBarChartWithPlaceHolder.Example.tsx');
    var StackedBarChartPage = /** @class */ (function (_super) {
        tslib_1.__extends(StackedBarChartPage, _super);
        function StackedBarChartPage() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        StackedBarChartPage.prototype.render = function () {
            return (React.createElement(example_app_base_1.ComponentPage, { title: "StackedBarChart", componentName: "StackedBarChartExample", exampleCards: React.createElement("div", null,
                    React.createElement(example_app_base_1.ExampleCard, { title: "StackedBarChart basic", code: StackedBarChartBasicExampleCode },
                        React.createElement(StackedBarChart_Basic_Example_1.StackedBarChartBasicExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "StackedBarChart benchmark", code: StackedBarChartBenchmarkExampleCode },
                        React.createElement(StackedBarChart_Benchmark_Example_1.StackedBarChartBenchmarkExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "StackBarChart Empty", code: StackedBarChartBaseBarExampleCode },
                        React.createElement(StackedBarChart_BaseBar_Example_1.StackedBarChartBaseBarExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "StackedBarChart with multiple data points", code: StackedBarChartMultipleExampleCode },
                        React.createElement(StackedBarChart_Multiple_Example_1.StackedBarChartMultipleExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "StackedBarChart dynamic", code: StackedBarChartDynamicExampleCode },
                        React.createElement(StackedBarChart_Dynamic_Example_1.StackedBarChartDynamicExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "Multiple StackedBarCharts", code: MultiStackedBarChartExampleCode },
                        React.createElement(MultiStackedBarChart_Example_1.MultiStackedBarChartExample, null)),
                    React.createElement(example_app_base_1.ExampleCard, { title: "Multiple StackedBarCharts with placeholder", code: MultiStackedBarChartWithPlaceholderExampleCode },
                        React.createElement(MultiStackedBarChartWithPlaceHolder_Example_1.MultiStackedBarChartWithPlaceholderExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
                        require('!raw-loader!@uifabric/charting/src/components/StackedBarChart/StackedBarChart.types.ts'),
                    ] }), overview: React.createElement("div", null,
                    React.createElement("p", null, "StackedBarChart shows the data in a bar format. It has two variations single stacked and multi-stacked bar chart.Below are few points that will help you understand the stacked bar chart better:"),
                    React.createElement("ul", null,
                        React.createElement("li", null, "The stacked bar chart comes with a legends component inbuilt"),
                        React.createElement("li", null, "Single stacked bar chart takes 'data' attribute which is of type IChartDataPoint[]"),
                        React.createElement("li", null, "Multi-Stacked bar chart takes 'data' attribute which is of type IChartDataPoint[][]. It will the render chart based upon the values given to this attribute"),
                        React.createElement("li", null, "Ratio on top of the chart is shown if it has only two data points. For the rest of cases the ratio is not shown"),
                        React.createElement("li", null, "A number is displayed on the top of stacked bar chart if it has only one data point. This number shown is the data you pass"),
                        React.createElement("li", null, "MultiStackedBarChart has a option 'showRatio' this will help you hide the ratio for the chart. It is a boolean[], you can use the values to control displaying ratio for each chart in MultiStackedBarChart."),
                        React.createElement("li", null, "If a chart in MultiStackedBarChart shows ratio, legends are not displayed for that chart and vice-versa."))), isHeaderVisible: this.props.isHeaderVisible }));
        };
        return StackedBarChartPage;
    }(React.Component));
    exports.StackedBarChartPage = StackedBarChartPage;
});
//# sourceMappingURL=StackedBarChartPage.js.map