Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
0 answers
68 views

I have created SPFx React project and integrate chart js library in that projecct I have used "chart.js": "^3.3.2" version. I need to add an image/icon in data labels and legends. ...
Score of 0
1 answer
109 views

i'm trying to make reservation chart with using ChartJs in react. const scheduleData = { data: [ { name: "testNameA", title: "a teatment", start: new Date(...
Score of 1
1 answer
185 views

I'm hoping someone has figured out how to properly sort "datasets" within their clusters in a ChartJS Bar chart. Below is an example of a bar chart in ChartJS with multiple "datasets&...
Score of 0
1 answer
113 views

I'm trying to create and control a viewport where you can scroll left or right on a chart in chartjs, but havent been having any luck. I need the min and max X values to be a hard stop on the panning ...
Score of 0
1 answer
230 views

I am using React Chart.js V2 and I am trying to update my chart when the state changes. However it is only rendering the y-labels on the left side and is not drawing the lines. The dataset and label ...
Score of 0
1 answer
78 views

import React from "react"; import { Chart } from "react-google-charts"; class BarChart extends React.Component { convertDataToChartData = (data) => { var modified_data = []; if ...
Score of 0
1 answer
165 views

I'm using Chart.js and react-to create a line chart, but I've noticed a small issue with the background fill. The line chart extends to the edges of the canvas as expected, but the background fill ...
Score of 0
1 answer
165 views

i try formatting my x axis value in chart js myData const chartData = { labels: data.map(item => item.toString()), datasets: [ { label: '', ...
Score of 1
1 answer
292 views

I'm trying to create a line chart in React using chartjs-2 to visualize timestamps and their corresponding power measurements. My timestamps are in the format "YYYY-MM-DDTHH:mm:ss.SSSSSS" (...
Score of 0
1 answer
110 views

<Chart chartEvents={[ { eventName: "select", callback: ({ chartWrapper }) => { const chart = chartWrapper.getChart(); const ...
Score of 2
1 answer
213 views

I'm creating a line chart using chartjs (v3) (and react-chartjs to integrate) and I'm having some bad times to customize the line to start at the middle of the first column (and also finishes at the ...
Score of 0
1 answer
45 views

We currently have a zoom rule for small screens. It applies a zoom to 80%. But this is breaking the Pie Graph from chart.js. When we are using large screens, which the page zoom is 100%, we can select ...
Score of 2
1 answer
111 views

I am trying to use ChartJS to create a grouped stacked bar chart. In my dataset, there are 2 groups: Groups A and Groups B. Groups A are rendered out correctly, but for some reason, Groups B (gray ...
Score of 0
1 answer
130 views

how can I set {hidden:true} on all LegendItems? If I set hidden property to true the legend item is only striked-through but the graph is still displayed. Any ideas? Thank you! I already tried this: ...
Score of 0
0 answers
196 views

I am trying to create a height comparison chart where I want to display the SVG's of kids, men and women based on height instead of bar. But, sometimes, my SVG does not appear completely on the chart ...

15 30 50 per page
1
2 3 4 5
38