Does angular-chart.js supports angular 2 and higher versions?
up vote
-2
down vote
favorite
I am using angular version 5.x and tried to use angular-chart.js for charts.
But I see it is not working, not sure if I am doing it correctly.
Here is the code I copied and modified
<canvas id="bar" class="chart chart-bar" [chart-data]="data"
[chart-labels]="labels" [chart-series]="series"></canvas>
Expected the attributes in canvas element to be @Input binding elements, but
I am getting compilation error. Please correct me if I am doing something
wrong.
angular angular-chart
add a comment |
up vote
-2
down vote
favorite
I am using angular version 5.x and tried to use angular-chart.js for charts.
But I see it is not working, not sure if I am doing it correctly.
Here is the code I copied and modified
<canvas id="bar" class="chart chart-bar" [chart-data]="data"
[chart-labels]="labels" [chart-series]="series"></canvas>
Expected the attributes in canvas element to be @Input binding elements, but
I am getting compilation error. Please correct me if I am doing something
wrong.
angular angular-chart
Hello! If you could provide the code that you are using and the compilation error you are getting, it will be much easier to give you the help you need.
– Wrokar
Nov 9 at 19:04
all the attributes which are in square brackets are giving compilation errors
– Satya Narayana
Nov 9 at 19:14
1
Add the compilation error in the question.
– Maihan Nijat
Nov 9 at 19:16
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I am using angular version 5.x and tried to use angular-chart.js for charts.
But I see it is not working, not sure if I am doing it correctly.
Here is the code I copied and modified
<canvas id="bar" class="chart chart-bar" [chart-data]="data"
[chart-labels]="labels" [chart-series]="series"></canvas>
Expected the attributes in canvas element to be @Input binding elements, but
I am getting compilation error. Please correct me if I am doing something
wrong.
angular angular-chart
I am using angular version 5.x and tried to use angular-chart.js for charts.
But I see it is not working, not sure if I am doing it correctly.
Here is the code I copied and modified
<canvas id="bar" class="chart chart-bar" [chart-data]="data"
[chart-labels]="labels" [chart-series]="series"></canvas>
Expected the attributes in canvas element to be @Input binding elements, but
I am getting compilation error. Please correct me if I am doing something
wrong.
angular angular-chart
angular angular-chart
edited Nov 9 at 19:13
asked Nov 9 at 19:02
Satya Narayana
44
44
Hello! If you could provide the code that you are using and the compilation error you are getting, it will be much easier to give you the help you need.
– Wrokar
Nov 9 at 19:04
all the attributes which are in square brackets are giving compilation errors
– Satya Narayana
Nov 9 at 19:14
1
Add the compilation error in the question.
– Maihan Nijat
Nov 9 at 19:16
add a comment |
Hello! If you could provide the code that you are using and the compilation error you are getting, it will be much easier to give you the help you need.
– Wrokar
Nov 9 at 19:04
all the attributes which are in square brackets are giving compilation errors
– Satya Narayana
Nov 9 at 19:14
1
Add the compilation error in the question.
– Maihan Nijat
Nov 9 at 19:16
Hello! If you could provide the code that you are using and the compilation error you are getting, it will be much easier to give you the help you need.
– Wrokar
Nov 9 at 19:04
Hello! If you could provide the code that you are using and the compilation error you are getting, it will be much easier to give you the help you need.
– Wrokar
Nov 9 at 19:04
all the attributes which are in square brackets are giving compilation errors
– Satya Narayana
Nov 9 at 19:14
all the attributes which are in square brackets are giving compilation errors
– Satya Narayana
Nov 9 at 19:14
1
1
Add the compilation error in the question.
– Maihan Nijat
Nov 9 at 19:16
Add the compilation error in the question.
– Maihan Nijat
Nov 9 at 19:16
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53231841%2fdoes-angular-chart-js-supports-angular-2-and-higher-versions%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Hello! If you could provide the code that you are using and the compilation error you are getting, it will be much easier to give you the help you need.
– Wrokar
Nov 9 at 19:04
all the attributes which are in square brackets are giving compilation errors
– Satya Narayana
Nov 9 at 19:14
1
Add the compilation error in the question.
– Maihan Nijat
Nov 9 at 19:16