Playing around in Chart.js and ng2-chart. Trying to have a time xAxis with max and min and auto fill it with time labels between, and without having to fill it in the labels.  labels = ["6.00","8.20","8.20","20.00"]; W...
I have a chart that displays a good number of data and i would like to make it scrollable so that graph bars are displayed comfortably - The xaxis will remain in position as i would scroll down in the graph to see more data.  Here is a plunker of wha...
I am trying to use the basic example of NG2-Charts (http://valor-software.com/ng2-charts/)  In its github repo (https://github.com/valor-software/ng2-charts) it is mentioned that:     Important: Embedding Chart.js in application is mandatory!   <s...
The idea is to use chart.js with Angular 4 and ng2-charts.  I'm working with the example here, but i can't get it to work.  I get the following error message:     Can't bind to 'data' since it isn't a known property of 'ca...
I am using ng2-charts and require a composite bar and line chart. Is this possible?  Currently I can get bar and line charts working separately, my template looks like...  <div>   <div style="display: block">      <canvas baseC...
I am trying pie chart using NG2-Charts (http://valor-software.com/ng2-charts/)  student.component.ts  if (undefined !== currChartObj) {         let i=0;         currChartObj['data'].forEach(e => {           if(i != 3){           this.curre...
I use the plugin ng2-charts it's work ok. I have to import chartjs-plugin-labels for change the data that will be with percentage. the problem is that when i do this i got this error. "Can not find Chart object." the strange thing that if...
Pie Chart  I've used ng2-charts(chart.js) in angular. I need to have the labels outside the borders of pie chart like in the attached image. As of now I have disabled the lengend attribute. I'm setting the labels and background colors through...
Following is my resultant chart    Here the value of legends Happy and Very Happy is 0, hence it is overlapping each other and unable to read. So, How can I hide these values and strike through the legends while loading itself like in the below image...
I am making a pie chart using ng2-charts and chart.js   in an angular application  I set the legend position to the bottom and put the labels outside the chart by using chartjs-plugin-datalabels plugin but whenever I do that the legend interfere with...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.