All Questions
75
questions
0
votes
1
answer
48
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/...
0
votes
1
answer
80
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;...
-1
votes
1
answer
72
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 ...
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 ...
0
votes
0
answers
501
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....
1
vote
1
answer
53
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 ...
48
votes
1
answer
101k
views
Legend overlaps with the pie chart
Using matplotlib in python. The legend overlaps with my pie chart. Tried various options for "loc" such as "best" ,1,2,3... but to no avail. Any Suggestions as to how to either exactly mention the ...
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,
...
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 ...
1
vote
2
answers
485
views
R plot_ly pieplot legend with different column
I have this data frame for buiding a pie plot with plot_ly() function:
piedat <- data.frame("phylum" = c("Non-classified genera", "Genera with RA < 1%", "Firmicutes", "Fibrobacteres", "...
6
votes
2
answers
30k
views
How to create legend position in pie chart.js?
i am using chart js for developing my pie chart. i want to create the legend position just like this. anyone please help me to solve this...
here is my code... i actually want the result just like ...
0
votes
0
answers
210
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 ...
0
votes
1
answer
2k
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 ...
4
votes
2
answers
6k
views
How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
I am creating a pie chart in Highcharts with a legend. When I specify the series as an array of values (my preferred method), the legend displays the string "Slice" for each value. If I instead ...
0
votes
2
answers
739
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 ...