Skip to main content

All Questions

Tagged with
0 votes
1 answer
40 views

How to Display Values Next to Legend in React Pie Chart? Getting 'Undefined' Error

I am trying to display value next to legend, but I am getting undefined. Debugged but no luck, can you let me know how to fix it. Providing my code snippet and stackblitz below https://stackblitz.com/...
Ram01's user avatar
  • 171
-1 votes
1 answer
71 views

How to separate legend and chart when having three chart

i have 3 pie charts which have legend in below but in first pie charts there are 10 legend and in second there are only 4 legend then when i give padding to chart to adjust the 10 legend then in ...
Amit Thelkar's user avatar
0 votes
0 answers
25 views

How can we change the position of legend using highcharts?

I am building a pie chart with highcharts js, but having a problem. As shown below, I was able to put the legend on the bottom, but it's not aligned with the chart. I am trying to put the legend at ...
SuWon's user avatar
  • 23
0 votes
0 answers
73 views

Data not togglling in reactAppexcharts pie chart

I am using react-apexcharts to create a pie chart I want to toggle the data based on lagend click. My Pie chart code: const PieChart = { series: [r1, b1, m1, s1],//They are my counts. ...
landa's user avatar
  • 263
0 votes
0 answers
497 views

How to move label text of pie chart to newline in chartjs

import React from 'react'; import { Chart as ChartJS,ChartOptions, ArcElement, Tooltip, Legend } from 'chart.js'; import { Pie } from 'react-chartjs-2'; import { Box } from '@mui/material'; ChartJS....
Bhupendra Basera's user avatar
1 vote
1 answer
52 views

how to avoid over lapping legends and pie chart [duplicate]

I am trying to draw a pie chart using python matplotlib. How to position the legend and pie chart so they are not overlapping each other. My code is as below: import matplotlib.pyplot as plt import ...
PChao's user avatar
  • 429
0 votes
1 answer
78 views

Amchart 4 Legend In Arabic not Showing Properly

I want To start the Legend marker from the right side I already used these three Properties. chart.legend.reverseOrder = true; chart.legend.itemContainers.template.reverseOrder = true;chart.rtl = true;...
wajiha siddiqui's user avatar
1 vote
1 answer
44 views

How to remove one legend option for Semi circle donut?

I need to leave just one legend option for this chart. enter image description here My code: series: [{ name: 'Brands', innerSize: '60%', colorByPoint: true, ...
Artem Shakun's user avatar
0 votes
2 answers
111 views

Pie chart legend with multiple lines of text in R

I am attempting to use the following code to split my long line of text into multiple lines in the legend of a pie chart. The current code creates a legend with a lot of white space and the text runs ...
Hannah Harder's user avatar
0 votes
0 answers
208 views

How to map colors from multiple matplotlib subplot pie charts to a single figure legend

So I have been trying to get a legend working for a figure with multiple subplots that contain pie charts. The pie charts can contain any number of manufactures from a set list of manufacturers, but ...
Kgrover3's user avatar
0 votes
1 answer
1k views

How to align legend along with pie chart?

I'm new to apache echarts and would like to know how to solve this problem. At lower resolutions the pie chart legend overlaps the chart, is there any way to freeze the legend or an auto adjust so ...
Felipe Jardim's user avatar
0 votes
2 answers
738 views

Arrange legends plotly

I want to arrange the legend for my pie chart which I have built using plotly, by default it arranges the legend having the highest distribution first and with lower distribution after it, but i want ...
Abhishek Mishra's user avatar
3 votes
0 answers
330 views

How to get R Plotly pie charts to show legends based on values other than labels

I am plotting a pie chart with R plotly which I want to slice the pie based on column A and color each slice based on column B. I want each slice to show label based on column A, and I want the ...
Bernard's user avatar
  • 73
0 votes
1 answer
900 views

Chartjs Custom Legend for Doughnut Chart Having Labelled Lines Sticking Out of Each Section

I know how to draw doughnut chart for a data set in Chartjs and its legend customization but I want to have a chart like the one shown in the image below in which lines from each section sticking out ...
Ismail's user avatar
  • 371
3 votes
1 answer
12k views

How to change legend order of Pie Chart in PowerBi

As for piechart in powerBi, currently legend order is set by value. I want to reorder it by alphabet order of legend key. I select specified key (IsReady) and flags and show below graph. Here is my ...
vector's user avatar
  • 53

15 30 50 per page
1
2 3 4 5 6