Skip to content

ng-pivot-options does not work #4

@amolkulkarni-Tieto

Description

@amolkulkarni-Tieto

Hi I am using the following example that you have given , but the ng-pivot-options is not working .
When I remove the ng-pivot-options="options" from the div , only then the data is displayed

following is my code.
(scripts are included in the same order)

<script src="~/Scripts/jquery-2.1.4.min.js"></script> <script src="~/Scripts/jquery-ui-1.11.4.min.js"></script> <script src="~/Scripts/angular.min.js"></script> <script src="~/Scripts/angular-pivot.js"></script> <script src="~/Scripts/c3.min.js"></script> <script src="~/Scripts/d3.min.js"></script> <script src="~/Scripts/c3_renderers.min.js"></script> <script src="~/Scripts/d3_renderers.min.js"></script> <script src="~/Scripts/gchart_renderers.min.js"></script>

$scope.data = [
{ color: "blue", shape: "circle" },
{ color: "red", shape: "triangle" }
];

                   $scope.options = {
                       rows: ["color"],
                       cols: ["shape"]
                   };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions