ErickRuano / angular-pivot

Angular wrapper for Nicolas Kruchten's Pivot Table
MIT License
15 stars 12 forks source link

ng-pivot-options does not work #4

Open amolkulkarni-Tieto opened 7 years ago

amolkulkarni-Tieto commented 7 years ago

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-ui-1.11.4.min.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"]
                   };
ErickRuano commented 7 years ago

Hi @amolkulkarni-Tieto

Thanks for reporting this issue, are you getting any errors output on your browser's console? Later today I'll try to replicate your scenario to check if I can solve any compatibility issues that may be causing the problem.

In the meantime, please take a look at this previous thread and check if the solution also works for you. https://github.com/ErickRuano/angular-pivot/issues/3

amolkulkarni-Tieto commented 7 years ago

Hi I have looked at the issue you have mentioned earlier in https://github.com/ErickRuano/angular-pivot/issues/3 , but it did not solve my issue. The only issue i see in console is a warning which says that Angular was loaded twice ,

anuja-joshi commented 6 years ago

@ErickRuano this seems to be same issue as #6, @amolkulkarni-Tieto check if you have v.1.2.1 if you have installed using bower the version is not up-to-date. You can try giving direct git url in bower.json to install latest version of angular-pivot

gunner786 commented 3 years ago

Hi @ErickRuano , I am getting the below error when I try to run my angular-app, will appreciate your help Capture