i want to add a text message inside my doughnut pie chart. To be more specific i want something like this:    I came across the same issue here in stack overflow by they use chart js in jquery and since i'm new to javascript i got confused. This...
I call the update() function, but it does not work.  TypeError: line.update is not a function.  Why is update() not a function?  I have seen this example on http://jsfiddle.net/zpnx8ppb/26/ where the update function does work  Here is my code:  impor...
I've tried making a radar chart using react-chartjs (https://github.com/reactjs/react-chartjs). It renders, but there are no colors.     What am I missing? I pretty much copied a large chunk of the example at https://reactcommunity.org/react-char...
I am doing data visualizations with react, react-chartjs-2, and chart.js version 2.2.1. There is a possibly related answer to this question here (look for 17.06.16 update), but I'm not sure what Chart.pluginService.register is or whether it is co...
I am attempting to create a line chart where the color of the line (and the points) is dependant upon the value being plotted. For example if the value is above the following thresholds [0, 115, 125] then the color would be either ['green', &...
Is it possible to render a chart with "inline" labels between horizontal bars in ChartJS?...
enter image description here  this.state.loading ? "loading..." : Chart items = {this.state.item} />   This how I render the component items as prop.  Chart component return  Line id={key} redraw = {true} data={state} options={{responsive:...
I made a React.JS component, which draws charts using react-chartjs wrapper around the chart.js library. I am getting an error on update, as if my data was corrupted. I am thinking that maybe something is wrong with the context, maybe, as I don't...
I am working on creating a bar chart in React.js using react-chartjs library. I am able to get the bar chart to display but since my data is huge and it is collected for every 10 seconds. The bar chart displays something like     My dataset for it lo...
Created a line chart, but the unit value of time is ignored completely. Can anyone please see the code and tell me what I am missing here?           this.myChart = new Chart(this.chartRef.current, {         type: 'line',         options: {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.