Angular Chart is a set of AngularJS bindings for the Chart.js library. Use this tag for questions specifically related to the AngularJS bindings, not for general Chart.js questions.
Questions tagged [angular-chart]
303 questions
0
votes
1 answer
Angular Chart Getting and Using Chart Data and Label Values
I am doing a angular chart, which has three values and labels for the display, when i click the chart it must show the label which i clicked. I am trying to get the values from points.
$scope.data = ["prospective","CallBacks","Closed"];
…

Om Bala
- 169
- 3
- 18
0
votes
1 answer
Overlapping Legends on Angular-Chart's Piechart
I am using angular-charts (in a bid to simplify my life when it comes to displaying charts and stuff). So far, it had been pretty straightforward and I was able to render my piechart perfectly fine.
HTML:
0
votes
1 answer
How to implement this data in angular-chart.js
I am trying chart using angular-chart.js. While going through this documentation: Link For angular-chart
pie chart, I have found out that, they have given $scope.data for values and $scope.labels for labels. But I have data like this.
$scope.pied…

Om Bala
- 169
- 3
- 18
0
votes
1 answer
angular chart pie-chart data click event
Angular JS chart is awesome, But i need to implement click event in the piechart which i have created.. Here is the coding..
This is the JavaScript Coding...
$scope.pied = [{
value: 4,
color: "#FF5A5E",
…

Om Bala
- 169
- 3
- 18
0
votes
2 answers
Only set canvas height when window width is over 768px, otherwise let it default
I am using angular charts to create a bar chart on my page. I only want the height to be set to 80 so it does not take up as much of my page. The issue is that when the size of the page is decreased, on mobile for instance, the chart squishes itself…

cfly24
- 1,882
- 3
- 22
- 56
0
votes
1 answer
Angular Charts with some especial requirements
I am using Angular Charts in order to achieve what I want, yesterday I did it, but now my client wants some changes, here is the data I am receiving:
{
"12-15-2015": {
"55f6de98f0a50c25f7be4db0": {
"conversions": {
"total": 0,
…

Reacting
- 5,543
- 7
- 35
- 86
0
votes
1 answer
chart-options not registering scaleStartValue
this:
Makes the expected result for the bezierCurve property, but doesn't change the starting value of Y axis. Is it bugged ? or do I need to specify…

Nkokoro
- 33
- 4
0
votes
0 answers
Angular-Chart deployment issue
Everything works fine locally but I just can't seem to work out what is going wrong when it is deployed.
It looks like something is missing but all the necessary files are there in the correct order:
bundles.Add(new…

72GM
- 2,926
- 3
- 27
- 33
0
votes
1 answer
angular-chart.js - define set Y axis width
I'm using angular-chart.js (which uses Chart.js) to create a bar chart, there is also a table under this showing the same data.
The problem I am having is when I change the data being displayed, the Y axis labels change width and throw everything…

j.h
- 41
- 5
0
votes
0 answers
Doughnut Chart with transparent range and point marker in charts.js and angulaJS
I have an doughnut chart in angularJS prepaired using angular-charts.js. I need to add a transparent range in the graph (the range should take the color of the background. Also I need to add a marker in the graph at a particular point). Can this be…

Pradeep Jain
- 113
- 1
- 2
- 9
0
votes
1 answer
How to assign specific colors to data items in a doughnut chart in Angular Chart?
I'm using Angular Chart and I have a doughnut chart. I want to have specific colors for my data.
For example:
$scope.labels = ["Oranges", "Bananas", "Avocados"];
$scope.data = [300, 500, 100];
$scope.colors = [
"#ff9900", // oranges are…

Yulian
- 6,262
- 10
- 65
- 92
0
votes
1 answer
TypeError: Cannot read property 'datasets' of undefined - Angular Chart
I am trying to show a chart using angular chart. But I'm get the following error:
TypeError: Cannot read property 'datasets' of undefined
at Object.i.Type.extend.initialize…

S_A
- 411
- 1
- 7
- 25
0
votes
1 answer
How to add symbols in angular charts?
I am currently building an Ionic mobile prototype with mock JSON data, hardcoded in the code. I am using angular charts to build my charts.
Looking at the Doughnut chart example, you can see label/data when hovering over it. How do I add a percent…

Marco Lau
- 107
- 1
- 9
0
votes
0 answers
Angular chart not rendering
I'm using the Angular Charts to draw a bar graph in my application. However the chart is not rendering. There are no errors shown in the dev tools too.
Edit:
However i notice that the styles of angular-chart.css are not getting applied.
0
votes
3 answers
Chart.js not deploying properly on Heroku
I have been using angular-chart.js with my app locally and I have not had a problem. However, when I deploy my app on Heroku, I my page breaks because it Chart.js is not deployed properly.
Uncaught SyntaxError: Unexpected token <…

Jesse Z.
- 47
- 1
- 12