charts

C# .NET Charts Libraries/Code? [closed]

邮差的信 提交于 2019-12-21 19:25:54
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am creating some reporting software that will generate excel workbooks with charts and all related data. Besides the built in libraries and .NET Office integration features, is there any other tools or code that people found useful to creating similar projects? EDIT: I am targeting winforms. 回答1: I've used

C# .NET Charts Libraries/Code? [closed]

陌路散爱 提交于 2019-12-21 19:25:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am creating some reporting software that will generate excel workbooks with charts and all related data. Besides the built in libraries and .NET Office integration features, is there any other tools or code that people found useful to creating similar projects? EDIT: I am targeting winforms. 回答1: I've used

Chart.js - Multiple Doughnut Charts on same Canvas

試著忘記壹切 提交于 2019-12-21 19:23:27
问题 I´m trying to simulate a multi layer doughnut chart by initializing Chart.js multiple times over same canvas. There is only one chart visible at the time. The other will be visible when you hover over its position… Does somebody know how to make both visible at the same time? Here is my code: <!doctype html> <html> <head> <title>Doughnut Chart</title> <script src="../Chart.js"></script> <style> body{ padding: 0; margin: 0; } #canvas-holder-1{ position: fixed; top: 50%; left: 50%; margin-top:

Responsive pie chart using NVD3

半腔热情 提交于 2019-12-21 16:18:13
问题 I'm working on a simple example of a pie chart using NVD3. It renders correctly but it is not responsive. I tried to follow this answer to make it responsive, but didn't quite get to it. I made a fiddle. Indeed, it is responsive, but I'm not able to fit the chart in the container. My js code: nv.addGraph(function() { var chart = nv.models.pieChart() .x(function(d) { return d.label }) .y(function(d) { return d.value }) .showLabels(true); var $container = $('#chart'), width = $container.width()

Dynamically Populate ng2 chart in Angular 4

╄→гoц情女王★ 提交于 2019-12-21 06:39:07
问题 I have written a sample application to fetch data from service in json format and bind it to the chart on UI. The problem is when ever I try to bind the data, it doesn't. I tried in many ways to bind data but was unsuccessfull. Functionality is as follows: Page 1: contains 2 dropdowns. 1 with Chart Type & 2nd with Sample Type. On selection of both dropdown values, I click on a button which triggers a function fetchData() in GlobalService. Below is getter & setter in GlobalService getChartData

Chart Area Axes - The chart area contains incompatible chart types

感情迁移 提交于 2019-12-21 06:05:08
问题 Getting error Chart Area Axes - The chart area contains incompatible chart types. For example, bar charts and column charts cannot exist in the same chart area. for Chart Chart1 = FirstChart(dt1); Chart Chart2 = CreateChart(dt2); Chart1.SaveImage(stream, ChartImageFormat.Png); Chart2.SaveImage(stream1, ChartImageFormat.Png); protected Chart FirstChart(DataTable dtRpt) { Chart chart = new Chart(); chart.Height = 800; chart.Width = 600; chart.ChartAreas.Add("ChartArea1"); DataTable dt = new

setting up phpChart in laravel

∥☆過路亽.° 提交于 2019-12-21 06:03:32
问题 Environment:Amazon EC2. Ubuntu x64. (GD library installed) I'm recently using phpChart for graph and report in laravel framework. I'm stuck at the beginning stage. Here's what I've done. 1.Unzip the contents in phpChart_Lite to /var/www/app/libraries/phpChart. 2.Edit composer.json and add : "autoload": { "classmap": [ ... "app/libraries" ] }, 3.run:composer dump-autoload 4.modify conf.php in phpChart_Lite define('SCRIPTPATH',app_path().'/libraries/phpChart_Lite/'); Here's my test page code: <

Framework with charts for mobile web application

别等时光非礼了梦想. 提交于 2019-12-21 05:42:18
问题 I'm working on a mobile web application I need to represent some data in a pie chart however I don't found any good framework that offer a good option and works fine on a mobile device, I would like to know some frameworks(free) that can help me. I will be amazed if you can give some basics examples, I'm thinking use ajax technology for show the charts. 回答1: Not sure if any of these fit your needs: http://www.sencha.com/products/touch/charts http://www.zingchart.com/ http://code.google.com

Add a vertical line marker to Google Visualization's LineChart that moves when mouse move?

左心房为你撑大大i 提交于 2019-12-21 05:22:15
问题 Is it possible to display a vertical Line marker showing the current x-axis value on LineChart, and moving when mouse moves ? Thanks in advance. 回答1: While this was difficult before, a recent update to the API makes it much easier! You need to use a mouseover event handler to get the mouse coordinates and the new ChartLayoutInterface to translate the coordinates into chart values. Here's some example code: [edit - fixed cross-browser compatibility issue] * [edit - updated to get the value of

Chartjs - pointColor to follow current color of gradient stroke

≯℡__Kan透↙ 提交于 2019-12-21 05:21:33
问题 I just created Line Chart using chartjs library and I managed to make stroke in gradient color. Here is simple fiddle example what I did so far. What I need next, is to make pointColor to follow gradient stroke and to pick up the current color of it's position. Like on this photo. Any ideas how to achieve that? Thanks! 回答1: Update From @AndyHolmes question at Is it possible to add a drop shadow to chart.js line chart? The original solution (extending) is not required. All that is required is