pie-chart

Highcharts pie dataLabels inside and outside

拈花ヽ惹草 提交于 2019-12-01 02:29:05
问题 i want a pie-chart with datalabels inside and outside a pie. i know, with a negative distance it shows the label inside the pie. but i want it inside and outside. outside i want display the percentage and inside the total sum of the point. 回答1: You have no possibility to set double datalabels, but you can use workaround, which is not perfect but maybe will be helpful. So you can set useHTML, then in formater return two divs, first appropriate datalabel (outside) and second with inside. Then

Silverlight charting - Pie chart show a dependent value on the chart

谁说胖子不能爱 提交于 2019-12-01 01:21:33
I would like to display the dependent value on the pie chart itself(not in the Legend area). I'm using Silverlight 4 + Silverlight 4 Toolkit (April 2010). This should be fairy common request, but I haven't managed to find a solution. How should I do this? <toolkit:Chart Name="samplePieChart" Title="Sample" Width="600"> <toolkit:Chart.Series> <toolkit:PieSeries Name="samplePieSeries" ItemsSource="{Binding Questions}" IndependentValueBinding="{Binding Name}" DependentValueBinding="{Binding Count}" IsSelectionEnabled="True" /> </toolkit:Chart.Series> </toolkit:Chart> vortexwolf I have recalled

ASP.Net MS Chart Control Pie Chart: remove unwanted padding

百般思念 提交于 2019-11-30 23:52:57
问题 HI im trying to create simple pie chart using the MS Chart controls. When my pie chart gets rendered in the browser i get padding around the pie chart that i cant get rid of. i would like the pie chart to sit up against the edge of the image with no padding or margin. Any ideas on how i can achieve this? in my code below the padding is highlighted in blue. i.e Chart1.BackColor = System.Drawing.Color.Blue; <script type="text/C#" runat="server"> protected void Page_Load(object sender, EventArgs

PrimeFaces Piechart: Tooltips are not displaying in my local environment

坚强是说给别人听的谎言 提交于 2019-11-30 23:01:57
I have recreated the example page shown in the primefaces showcase at: http://www.primefaces.org/showcase/ui/chart/pie.xhtml The pie chart successfully display and I am able to tweak the pie chart model for available setters and getters, but hovering over a piece of the pie does not display any tooltip at all. This is not a browser issue, as in the same browser the tooltips display on the demo site. The jqplot-highlighter-tooltip div is showing in the html source, but it is not getting updated on hover. There are no errors shown in the javascript console. I am using the 5.2 maven dependancy,

Silverlight charting - Pie chart show a dependent value on the chart

家住魔仙堡 提交于 2019-11-30 20:18:02
问题 I would like to display the dependent value on the pie chart itself(not in the Legend area). I'm using Silverlight 4 + Silverlight 4 Toolkit (April 2010). This should be fairy common request, but I haven't managed to find a solution. How should I do this? <toolkit:Chart Name="samplePieChart" Title="Sample" Width="600"> <toolkit:Chart.Series> <toolkit:PieSeries Name="samplePieSeries" ItemsSource="{Binding Questions}" IndependentValueBinding="{Binding Name}" DependentValueBinding="{Binding

Making A Graphic Pie Chart In C#

江枫思渺然 提交于 2019-11-30 19:37:39
I'm trying to write a Windows Application that shows a pie chart with seven unequal slices (25%, 20%, 18%, 17%, 10%, 10%, 10%) all of them will be colored differently. So far I have made Pens and Brushes with colors attached and drawn a circle. This is what I have so far private void Form1_Paint(object sender, PaintEventArgs e) { this.BackColor = Color.White; this.Text = "Pie Chart"; this.Width = 350; this.Height = 350; Pen black = new Pen(Color.Black); Pen blue = new Pen(Color.Blue); Pen green = new Pen(Color.Green); Pen red = new Pen(Color.Red); Pen orange = new Pen(Color.Orange); Pen pink =

PrimeFaces Piechart: Tooltips are not displaying in my local environment

别说谁变了你拦得住时间么 提交于 2019-11-30 18:04:16
问题 I have recreated the example page shown in the primefaces showcase at: http://www.primefaces.org/showcase/ui/chart/pie.xhtml The pie chart successfully display and I am able to tweak the pie chart model for available setters and getters, but hovering over a piece of the pie does not display any tooltip at all. This is not a browser issue, as in the same browser the tooltips display on the demo site. The jqplot-highlighter-tooltip div is showing in the html source, but it is not getting

How to center chart title position dynamically inside pie chart in highcharts

拥有回忆 提交于 2019-11-30 15:50:51
I'm doing a responsive pie chart which holds title in centered position inside it.I've used, title: { text: "", margin: 0, y:0, x:0, align: 'center', verticalAlign: 'middle', }, but it's not perfectly centered inside the chart.Any suggestions would be appreciated.Thank you in advance. Here's the Link : http://jsfiddle.net/LHSey/128/ Better is remove title and use renderer which allows to add custom text, which can be repositioned each time (when you redraw chart). Only what you need is catch this event. function addTitle() { if (this.title) { this.title.destroy(); } var r = this.renderer, x =

ggplot use small pie charts as points with geom_point

天大地大妈咪最大 提交于 2019-11-30 11:37:51
问题 I would like to make a graph with ggplot as shown below. The idea is to plot "percentage matches" between two categorical variables. It is easy to come close by altering the size of points, but I wondered if it is possible to make these small pie charts... An example code for plotting this with the size of points as a measure of the score. temp <- data.frame(Exercise=c(1, 1, 1, 2, 2, 2), Name=c(1, 2, 3, 1, 2, 3), Score=c(0.2, 0.5, 0.3, 0.9, 1.0, 0.6)) ggplot(temp) + geom_point(aes(Exercise,

pandas pie chart plot remove the label text on the wedge

假如想象 提交于 2019-11-30 11:36:49
the pie chart example on pandas plotting tutorial http://pandas.pydata.org/pandas-docs/version/0.15.0/visualization.html generates the following figure: with this code: import matplotlib.pyplot as plt plt.style.use('ggplot') import numpy as np np.random.seed(123456) import pandas as pd df = pd.DataFrame(3 * np.random.rand(4, 2), index=['a', 'b', 'c', 'd'], columns=['x', 'y']) f, axes = plt.subplots(1,2, figsize=(10,5)) for ax, col in zip(axes, df.columns): df[col].plot(kind='pie', autopct='%.2f', labels=df.index, ax=ax, title=col, fontsize=10) ax.legend(loc=3) plt.show() I want to remove the