charts

How can I fix the number of MinorGrid lines to a fixed number in Microsoft's .NET 4.0 Chart?

拥有回忆 提交于 2019-12-13 19:18:32
问题 I am trying to set a fixed number of minor grid lines in a .NET 4.0 Chart whose X axis is in a Logarithmic scale. I try to set the "Axis.Minor.Interval" property, this only makes the grid lines disappear. chart1.ChartAreas[0].AxisX.IntervalAutoMode = IntervalAutoMode.VariableCount; chart1.ChartAreas[0].AxisX.IntervalType = DateTimeIntervalType.Number; chart1.ChartAreas[0].AxisX.Interval = 100d; chart1.ChartAreas[0].AxisX.MajorGrid.IntervalType = DateTimeIntervalType.Number; chart1.ChartAreas

How to align labels properly using System.Web.UI.DataVisualization.Charting

喜夏-厌秋 提交于 2019-12-13 19:09:53
问题 I have a chart which generated through System.Web.UI.DataVisualization.Charting. Below is the code public ActionResult MBRRChart() { //Area for generating chart type Range bar List<dummyGraph> objGraphList = new List<dummyGraph>(); dummyGraph objDummyGraph = new dummyGraph(); objDummyGraph.TKFEType = "Underwriter"; objDummyGraph.min = 1; objDummyGraph.max = 8; objDummyGraph.Median = "1"; objGraphList.Add(objDummyGraph); objDummyGraph = new dummyGraph(); objDummyGraph.TKFEType = "Construction"

Google pie chart single value

一笑奈何 提交于 2019-12-13 18:55:18
问题 I am using a Google Pie Chart and have a problem modifying it. After many complicated calculations I get a percentage value, say 67%. I want that single percentage value to be shown in pie/donut chart. My HTML code is <div id="chart_div"></div> My Javascript code is function drawChart() { var data = google.visualization.arrayToDataTable([ ['Category', 'Value'], ['Foo', 67] ]); var chart = new google.visualization.PieChart(document.getElementById('chart_div')); chart.draw(data, { height: 400,

Dynamic Chart in Python

ε祈祈猫儿з 提交于 2019-12-13 18:28:29
问题 I am essentially trying to replicate the google finance chart, but for sensor data. I would like to embed the chart in a GUI and have it update on a timer (which samples the sensor for it's value). I would like to incorporate panning, resizing, and adding moving averages, much like the google finance charts, all of which is updated at some steady interval. Much of my code base is already in python, so I would like to stick with it. Can this be done with Python? I have checked out matplotlib,

How to change from line chart to bar chart

时光毁灭记忆、已成空白 提交于 2019-12-13 18:15:11
问题 I have this line chart and want to make it a bar chart, but I'm new to Java and am not knowing if it possible since the x-axis is TimeSeries . This is the code I have that visualizes the line chart: public class Time { private static Time INSTANCE; public static boolean isInitialized = false; private Marker marker; private Long markerStart; private Long markerEnd; private XYPlot plot; long last_lowerBound; long last_upperBound; @Inject public Time() { } Composite comp; TimeSeriesCollection

google charts graphs set legend value and same color columns

你离开我真会死。 提交于 2019-12-13 18:13:02
问题 data = [["product1",3.6126719999999977],["product2",6.827597999999999],["product2",1008.0]] when i use array data and implement in columns or bar charts that time is displayed legend as value only not 'diffrent product name' and all bar charts look same color columns. i want to add legend name as product name and diffrent color to all columns google.charts.load('current', { packages: ['corechart'] }).then(function () { $.ajax({ url: 'path to data', dataType: 'json' }).done(function (jsonData)

Google Chart (Material) - Type Bar - Data in arrayToDataTable with role style KO?

眉间皱痕 提交于 2019-12-13 18:08:34
问题 I want to use a google bar chart (material design) with the options provided in the arrayToDataTable to customize the color of the bar. Example: return google.visualization.arrayToDataTable([ ['1', '2', {role: 'style'}], ['1', 1000, '#000000'], ['2', 1170, '#000000'], ['3', 660, '#000000'], ['4', 1030, '#000000'] ]); As you can see, if I refer to the documentation, the bar should be in black. It is not. Moreover, this third column is not added (so something catch it as an role, but do not

High chart - displaying marker symbol on column range dataLabels

血红的双手。 提交于 2019-12-13 18:08:32
问题 I have a column range charting and it works fine . I just want to display marker symbol on top and bottom for each dataLabels and make string among this symbols. I tried to use marker:{ enabled :true} but it didn't work here's the jsfiddlle http://jsfiddle.net/7eurU/ Thanks 回答1: Column series doesn't have marker for columns. You can add serparate series (scatter) for each value. Or try to develop some plugin to add this, like this one: http://www.highcharts.com/plugin-registry/single/2

charts won't draw with extjs 3.4

柔情痞子 提交于 2019-12-13 18:07:10
问题 A simple problem, really simple code, i just copy/paste the code example, on my local project of course, but no charts drawing ... i really don't understand what's happening, i change in doubt url of the swf on my local folder, same problem, please help ! <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Charts v1.0</title> <link rel="stylesheet" type="text/css" href="css/ext-all.css" rel="stylesheet" /> <script type="text/javascript" src="js/ext-base

D3 reusable circular heat chart cannot successfully update

五迷三道 提交于 2019-12-13 18:03:48
问题 I am using the D3 reusable chart framework to create a circular heat chart to visualize acoustic data. I am not able to successfully update the data. When I try to update the data instead of updating the paths in the existing g element it draws new g elements. I created two charts just to see if my reusable framework works, and am testing data update only on the first chart. For some reason when I try to update the first chart, the colors also change to that of the second chart. Here is an