charts

How to have a a single series data label on a grouped bar chart?

笑着哭i 提交于 2019-12-11 11:07:58
问题 I have an SSRS bar chart the shows some data in a handful of category groups. It's pretty straightforward and looks like this: I've now got the need to segment each category into two series groups like so: So far so good however I need to display the ungrouped percentage data labels (i.e. the requirement is to continue to show the percentage of each combined category group, NOT the percentage of the series group). So I need the bar chart from the second image but the data labels from the

Image on pie graph with highcharts

僤鯓⒐⒋嵵緔 提交于 2019-12-11 11:01:58
问题 I am looking for a graph library that is highly customizable. I found Highcharts and loved it. I am trying to create a pie chart that has images on it. Something like this image but I am not sure how to do it with highcharts. can anyone help me. Is this possible with highcharts ? if not can you please suggest any other graphs where I can get this output? 回答1: It is possible using Highcharts to add custom image to chart using default API's renderer . (API reference: http://api.highcharts.com

Google Charts X Axis Showing Up Down Values

偶尔善良 提交于 2019-12-11 10:55:25
问题 I have plotted a Google Line chart which is showing X axis values in alternating up down format when having more values as shown below. But I want to show it in a single line in a much better representation than the current one, a slope representation would also be fine like below. My code for plotting the chart is as below: var options = { width: '100%', height: '100%', legend: ({ position: 'top', maxLines: 1, alignment: 'end'}), chartArea: { left: "8%", right: "8%", top: "10%", width: "100%

chart.js change size of label of radar chart

戏子无情 提交于 2019-12-11 10:54:04
问题 I use Chart.js to create a radar chart. I would like change the size of label but i don't find the option.ind my code here : var data = { labels: ajax_label, pointLabelFontSize : 16, scaleFontSize: 16, datasets: [ { label: "My First dataset", fillColor: "rgba(91, 192, 222,0.2)", strokeColor: "rgba(91, 192, 222,1)", pointColor: "rgba(91, 192, 222,1)", pointStrokeColor: "#fff", pointHighlightFill: "#fff", pointHighlightStroke: "rgba(91, 192, 222,1)", data: ajax_data, scaleShowLabels : false,

Why do Chart Stacked Columns show up as thin lines?

眉间皱痕 提交于 2019-12-11 10:53:51
问题 I am trying to create a stacked column chart with 4 series in it. But somehow, after populating the series and making sure they are aligned, instead of columns, thin lines appears. Code is as below. foreach (Series s in chartEvents.Series) s.Points.Clear(); foreach (DataRow dr in data.Rows) { string reason = ""; double xVal = 0; double yVal = 0; double overFlow = 0; double existFlow = 0; try { reason = dr["reasonID"].ToString(); xVal = Math.Round(Convert.ToDateTime(dr["XValue"].ToString())

Matplotlib center alignment for pie chart labels

荒凉一梦 提交于 2019-12-11 10:48:20
问题 I have produced a very simple pie chart in Python using Matplotlib and I am wanting to edit the alignment of my labels. I have used \n within my labels to split the line as the labels are too long for one line. But as you can see from the picture called 'pie chart image', it's a mix of weird alignments at the moment. I would really like to have it center alignment. For other chart/graph types in Matplotlib there is an argument called align where you can set it to center , however, plt.pie(...

Telerik RadChart labeling and positioning

一笑奈何 提交于 2019-12-11 10:45:53
问题 I'm new to Telerik Chart controls and I have some minor problems: (1) I want to set the (1, 2, 3, 4) in the horizontal axis into ("a", "b", "c", "d") (2) The legend stays at the top of the chart Please tell me how to do it. 回答1: (1) I want to set the (1, 2, 3, 4) in the horizontal axis into ("a", "b", "c", "d") (2) Use the Legend section under the chart wizard to adjust the location of your legend: 回答2: <Legend><Appearance Dimensions-Margins="17.6%, 3%, 1px, 1px" Dimensions-Paddings="2px, 8px

Charts multi type and secondary Y axis

你。 提交于 2019-12-11 10:38:39
问题 I'm creating a chart which had 3 series, 2 which are columns, and I need a line which runs through which shows the average. I have found trendlines but at the moment my chart is showing a series column and a trendline when I just want to see the trend line. Here is the code: // Add a chart for the country. i.e. show the var chart = worksheet.Drawings.AddChart(countryName + "Click through report", eChartType.ColumnClustered); // Set the size of the chart chart.SetSize(1150, 540); //Set the

Change axis of plotly polar plot

不问归期 提交于 2019-12-11 10:37:23
问题 I am playing with Plotly tools using python and I have made a polar plot as seen below using some dummy data: I would like to alter the axis so that the data I have (goes from around 20 to 50) is mapped to the entire 360° of the plot. Is there a way of doing this using a readymade command or do I need to write a function where you set the limits then map those numbers to degrees before changing axis labels. I have been looking through stack exchange but I can only find ways of changing it to

JavaFX StackedBarChart legend color don't follow chart color CSS styled

你。 提交于 2019-12-11 10:33:40
问题 In my application (JDK 1.8u51) I want to set some specific colors to some data categories in a StackedBarChart. I made this with a CSS as bellow : .root{ -fx-ok-color: darkgreen; -fx-critical-color: darkblue; -fx-warning-color: gold; -fx-minor-color: orange; -fx-major-color: red; -fx-undefined-color: darkgrey; } .okChartBar{ -fx-bar-fill : -fx-ok-color; } .warnigChartBar{ -fx-bar-fill : -fx-warning-color; } .minorChartBar{ -fx-bar-fill : -fx-minor-color; } .majorChartbar{ -fx-bar-fill : -fx