charts

Highcharts: is it possible to show all data labels in a bubble chart without them overlapping?

99封情书 提交于 2019-12-22 10:45:50
问题 I'm building a Highcharts bubble chart and am running into a challenge formatting the data labels. The data will be regularly updated, so there will be plenty of times when the bubbles either overlap or are very close to each other. By default, labels that are very close to one another will be omitted. However, my requirements for this chart include showing the data labels for all bubbles, regardless of their position (therefore, I'm setting allowOverlap to true ). Here is a variation of the

Draw multiple charts with Flot, html, PHP and MySql query

六月ゝ 毕业季﹏ 提交于 2019-12-22 10:07:34
问题 I’m trying to draw multiple charts with Flot, html, PHP and MySql query but I’m stuck because I can’t find a way in order to draw multiple flots in the same html page. In the database (test_db3) image for simplicity the following fields: table1(user_name, mail_sent, time) table2(user_name2, mail_received,time2) those two tables cannot be modify, I can’t add the user_name2 to the table1 and so on. in table1 are stored the values of the sent mail based on the time of sent in table2 are stored

How to add events to the individual sections(arcs) of a pie chart created out of d3.js?

試著忘記壹切 提交于 2019-12-22 10:06:59
问题 This is a basic code to create a pie chart for protocol distribution. In my .csv file, I have two columns viz., protocol name and the percentage.I want to add events on individual arcs. For example, when i click only on the arc containing TCP stats, it should lead to another page. Please help how can i do this. I was able to add click event for the pie chart as whole. <!DOCTYPE html> <meta charset="utf-8"> <style> body { font: 10px sans-serif; } .arc path { stroke: #fff; } </style> <body>

Is multiple level Highchart Drilldown possible in adjacent charts?

笑着哭i 提交于 2019-12-22 09:59:18
问题 I am a newbie in highchart. I have few queries in drilldown. In drilldown same chart gets replaced. Can we give particular space for drilled new chart (if I say new div)? How can I add more levels of drilldown in different chart ? By default if you have more series in the legend, clicking on one of them will add/remove that series. Can we make the series still visible a append a new chart ? 回答1: have a look at http://jsfiddle.net/6LXVQ/97/ for a 3 level example series: [{ id: 'toplevel', name

d3 using a different X scale and Y scale domain for each selection

回眸只為那壹抹淺笑 提交于 2019-12-22 09:13:32
问题 Here is the project on jsfiddle: http://jsfiddle.net/mLnB3/ I have data that is in this format: var data = [ { "category": "Category1", "subcategories": [ { "subcategory": "Subcategory1A", "comments": [ { "comment" : "1Acomment1", "count": 8, }, { "comment": "1Acomment2", "count": 7 } ] }, { "subcategory": "Subcategory1B", "comments": [ { "comment": "1Bcomment1", "count": 11, } ] }, { "subcategory": "Subcategory1C", "comments": [ { "comment": "1Ccomment1", "count": 2, } ] } ] }, { "category":

How to create dynamic color list for charts

爱⌒轻易说出口 提交于 2019-12-22 09:07:32
问题 How to create dynamic color list for charts Basically i have a different value in my database or each values contain each percentage and i need to show this percentages in pie chart with different colors .... This is the example code of pie chart in static way <color value="#99CDFB"/> <color value="#3366FB"/> <color value="#0000FA"/> <color value="#F8CC00"/> <color value="#F89900"/> <color value="#F76600"/> but i need dynamic way using PHP ( for loop / foreach loop ) like this $color = "";

Vertical stacked bar chart with chart.js

怎甘沉沦 提交于 2019-12-22 08:26:52
问题 Excellent and free library from chart.js. I'm transferring my charts from Google charts to chart.js, because I can use them offline and it seems more responsive to window's changes of size. Furthermore I realised that my viewers in China could not see my Google charts because Google services are blocked in China. I've been reading the documentation regarding stacked vertical bar charts, but I can't figure out, how to make a chart like this. In all examples I saw for stacked bar charts, the

asp chart errors

假装没事ソ 提交于 2019-12-22 08:18:06
问题 I have a strange situation using asp ajax chart controls. I have an application which is attempting to display a chart on an aspx page. Here are a couple of snippets from my web.config - <appSettings> <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\temp\;"/> </appSettings> ... <httpHandlers> <add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken

What is causing a scope parameter error in my SSRS chart?

限于喜欢 提交于 2019-12-22 07:54:09
问题 Why am I getting this error in my chart? (Chart Image) I am using this expression in the chart: Series: =Sum(Fields!Mins_Att.Value)/Sum(Fields!Mins_Poss.Value) Series 1: =Sum(Fields!Mins_Att.Value, "Chart2_CategoryGroup2")/Sum(Fields!Mins_Poss.Value, "Chart2_CategoryGroup2") and I am getting this error: The Y expression for the Chart has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal the name of group, data

Google Pie chart: remove white gap between pie slices

。_饼干妹妹 提交于 2019-12-22 07:03:06
问题 Similar to this question, but for Google Pie Charts: How can I remove the white lines between the slices on a Google Pie Chart: On the image above, I want to remove the white space highlighted by the green arrow. 回答1: You can get rid of that gap by setting the pieSliceBorderColor to "transparent" . Try the following on Google Code Playground: function drawVisualization() { // Create and populate the data table. var data = google.visualization.arrayToDataTable([ ['Task', 'Hours per Day'], [