Skip to main content

New answers tagged

1 vote

Set ZingChart Legend Items height individually

Use layout:float to prevent the legend entries from spreading too far apart and add some height on the legend > item property as I've done in this demo.
lasabahebwa's user avatar
0 votes

Pie chart using the values of one variable when repeated multiple times r

Perhaps summarise the data by "answer_type" first and then plot (this doesn't call distinct): library(ggplot2) library(forcats) library(dplyr) summarise(df, n=sum(answer_type_count), N=sum(...
Edward's user avatar
  • 14.3k
1 vote

Pie chart using the values of one variable when repeated multiple times r

Most of your problems are actually data manipulation issues. Try the following where I convert your answer_type_count column to a numeric and then calculate a percentage for labelling.  df <- df %&...
dandrews's user avatar
  • 1,049
1 vote

Increasing pie chart size with matplotlib, radius parameter appears to do nothing

Do not set ax1.axis('equal') or ax.pie(..., frame=True), as the given radius represents the ratio between the actual size of the pie chart and 0.8 times the minimum of the width and height of the axes....
zhanwei's user avatar
  • 11
0 votes
Accepted

Upgrading to latest angular 18 with ng2-charts errors on nsg-serve

Go through each of the error component and apply the below approach ( This errors happens when the BaseChartDirective is not imported ). If task component is standalone, add BaseChartDirective to the ...
Naren Murali's user avatar
  • 41.6k
2 votes
Accepted

How do draw a pie chart in react native

You can use other libraries as well for animate the circular progrees of your donut chart you can custom define your animation and modify it as well. use below libraries import { View, StyleSheet, ...
ABDULLAH's user avatar
  • 960

Top 50 recent answers are included