charts

Plotting huge trees with vis.js

纵然是瞬间 提交于 2019-12-23 19:07:57
问题 I'm trying to plot a quite huge network (i.e., ~1k nodes and ~1k edges) with vis.js 4.21.0 . Here is my options object: var options = { autoResize: true, height: '400px', clickToUse: false, layout: { hierarchical: { direction: 'UD', sortMethod: 'directed', } }, physics: { stabilization: false, barnesHut: { gravitationalConstant: -80000, springConstant: 0.001, springLength: 200 } }, nodes: { shape: 'dot', size: 20, font: { size: 15, color: '#ffffff' }, borderWidth: 2 }, groups: groups, }; The

Modern UI (Metro) Charts WPF not showing up

本秂侑毒 提交于 2019-12-23 19:05:40
问题 I'm Using .NET Framework 4.5 and WPF for my project. I need to generate several types of charts so I'm thinking to use http://modernuicharts.codeplex.com/ library to do that. I followed the documentation there in that codeplex page : http://modernuicharts.codeplex.com/documentation and completed the steps. Now I'm not getting any kind of errors or warning messages in Visual Studio 13, But simply the chart is not showing up. I can only see the title and the subtitle of the chart. What are the

Google Charts-Code for Category Filter

a 夏天 提交于 2019-12-23 18:30:27
问题 Was trying out the Google Chart function codes. I'm currently trying to create a line chart with a category filter. Here's my code: function drawVisualization() { // Prepare the data. var data = google.visualization.arrayToDataTable([ ['x', 'Cats', 'Blanket 1', 'Blanket 2'], ['A', 1, 1, 0.5], ['B', 2, 0.5, 1], ['C', 4, 1, 0.5], ['D', 8, 0.5, 1], ['E', 7, 1, 0.5], ['F', 7, 0.5, 1], ['G', 8, 1, 0.5], ['H', 4, 0.5, 1], ['I', 2, 1, 0.5], ['J', 3.5, 0.5, 1], ['K', 3, 1, 0.5], ['L', 3.5, 0.5, 1], [

Add chart on phpoffice/phpword

a 夏天 提交于 2019-12-23 18:13:42
问题 I know how to add charts on PHPExcel, but I also need to insert charts on a docx file. Is it possible to manipulate charts with phpoffice/phpword? If it's not possible, do you know a good library for the job? 回答1: It's not actually possible to add chart in a PHPWord Document. But the feature is in the pipe (follow this ticket #123). But you can use of one of some libraries used (at the moment and in the future) by PHPExcel : PHP Charting Libraries . Actually, PHPExcel just use JpGraph for

How to group Json data based on Month and plot it using google chart

一个人想着一个人 提交于 2019-12-23 18:06:41
问题 I am using google chart plugin to plot a area chart,by using JSON data as show below code, which contains value and a date by the chart should be printed based on month. Link show in image enter image description here how to plot the chart based on month using google chart is it possible to do it with google charts buit in features and need to write some customized javascript for that achive? <script type="text/javascript"> google.charts.load('current', { 'packages': ['corechart'] }); google

AChart Engine Bar Chart - hide the series when scrolling to right

一曲冷凌霜 提交于 2019-12-23 18:04:28
问题 I am using an excellent library AChart engine for generating bar chart. All features are working fine, but I have couple of things which I am not able to resolve: this is my screen shot: Now there are two things that needs to be fixed: 1) Hide the series when it is scrolled to right, currently the series March is visible even after 0,0 also. 2) Gridlines are on top of the graph but it should be behind the graph. 3) How to display the legends on top right corner instead of bottom. here is my

Creating Charts with multiple series in Powerpoint 2013 using C#

随声附和 提交于 2019-12-23 17:54:34
问题 I am using VS2013 Ultimate, with Office 2013 (PowerPoint, Excel and Word all installed). I am coding in C#. I am creating a PowerPoint presentation using C#. So far, I have managed to accomplish everything that I have wanted to do. However, I am having problems attempting to create a chart. My understanding is that Excel is used to manage the data (in a worksheet). I have the following code, which will produce a chart with two series in a PowerPoint slide. The problem is that 'sometimes' the

powershell cannot add more than one legend entry (series) to an excel chart

a 夏天 提交于 2019-12-23 17:53:22
问题 I have a problem adding more than one series to the seriescollection in excels chart object through powershell here is my code: [threading.thread]::CurrentThread.CurrentCulture = 'en-US' $excel = New-Object -comobject Excel.Application $workbook = $excel.workbooks.add() $datasheet = $workbook.Worksheets.Item(2) $chartsheet = $workbook.Worksheets.Item(1) [datetime] $startDate = "2012-11-29 00:00:00" [datetime] $finishDate = "2012-12-07 00:00:00" [datetime] $dayCounter = $startDate $startRow =

How do I create a stacked column chart purely through programming with excel vba?

房东的猫 提交于 2019-12-23 17:45:04
问题 I am trying to create a stacked column chart in VBA where there is a bar graph and each bar graph shows the breakdown of subcategories on the graph (See right side of picture). For the normal bar graph all I had to do was create a new series and set the Values and XValues properties. I'm not sure how to tell it about the values for the subcategories. (source: msecnd.net) 回答1: The simplest way to start a task like this is to see what happens when you perform the task by hand, using the Macro

Drawing Connecting Lines (“Great Arcs”) on a D3 Symbol Map

限于喜欢 提交于 2019-12-23 17:39:46
问题 I am using Version 4 of the D3 Library and am, to this point, unable to draw connecting lines between points on a Symbol Map. In the example, from an earlier version of the library, drawing connecting lines is accomplished with this code: // calculate the Great Arc between each pair of points var arc = d3.geo.greatArc() .source(function(d) { return locationByAirport[d.source]; }) .target(function(d) { return locationByAirport[d.target]; }); [snip] // Draw the Great Arcs on the Chart. g