charts

how to put labels over the bars google.charts.Bar()

烂漫一生 提交于 2019-12-29 08:21:49
问题 I need to put labels over my google.chart.Bar (not google.visualization.BarChart) the chart is correctly visualized but only shows values on mouse over the bars,please helpme!. without mouse over with mouse over the data is taked from hidden inputs... here the code : var data3 = new google.visualization.arrayToDataTable([ ['Ambitos', 'Programados', 'Terminados',{ role: 'style' }], ['ex', parseInt(document.getElementById("sumex").value),(parseInt(document.getElementById("sumex").value))-(

Highcharts: Displaying zero values in logarithmic scale

一世执手 提交于 2019-12-29 08:08:35
问题 I am working with logarithmic scale in the y-axis I know that log(0) doesn't exist but I need to draw 0 values, and I need a log scale. I read in other answers that changing the zero values to null solve the problem, but it is not working for me. See the example: http://jsfiddle.net/QEK3x/15/ Thank you in advance. 回答1: Although not perfect, the best I came up with was to set the zero point to 0.0001 and then set the y-axis min to 0.0001: http://jsfiddle.net/6LHT8/ yAxis: { min:0.0001, type:

Highcharts: Displaying zero values in logarithmic scale

落爺英雄遲暮 提交于 2019-12-29 08:08:22
问题 I am working with logarithmic scale in the y-axis I know that log(0) doesn't exist but I need to draw 0 values, and I need a log scale. I read in other answers that changing the zero values to null solve the problem, but it is not working for me. See the example: http://jsfiddle.net/QEK3x/15/ Thank you in advance. 回答1: Although not perfect, the best I came up with was to set the zero point to 0.0001 and then set the y-axis min to 0.0001: http://jsfiddle.net/6LHT8/ yAxis: { min:0.0001, type:

Highcharts: Displaying zero values in logarithmic scale

大憨熊 提交于 2019-12-29 08:08:07
问题 I am working with logarithmic scale in the y-axis I know that log(0) doesn't exist but I need to draw 0 values, and I need a log scale. I read in other answers that changing the zero values to null solve the problem, but it is not working for me. See the example: http://jsfiddle.net/QEK3x/15/ Thank you in advance. 回答1: Although not perfect, the best I came up with was to set the zero point to 0.0001 and then set the y-axis min to 0.0001: http://jsfiddle.net/6LHT8/ yAxis: { min:0.0001, type:

Chart.js Doughnut with rounded edges

自闭症网瘾萝莉.ら 提交于 2019-12-29 06:21:29
问题 I created a donut chart with Chart.js and I want it to have rounded edges at both ends. I want it to be like this: But I have it like this, with sharp edges: The best I found was this answer: How to put rounded corners on a Chart.js Bar chart, but it is for bar charts, and I have no clue of how to adapt it for doughnuts.. Here is my code: HTML <div class="modal-div-canvas js-chart"> <div class="chart-canvas"> <canvas id="openedCanvas" width="1" height="1"></canvas> <div class="chart

Creating vertical timelines with Javascript/jQquery

对着背影说爱祢 提交于 2019-12-29 06:18:20
问题 I saw other questions about libraries to create timelines with Javascript. There are some libraries, but they create horizontal timelines, but I want to create a vertical. So, which is a good library to create vertical timelines? I don't want a timeline like Facebook with posts, but a simple timeline with years and items like in this question, but vertical instead of horizontal. 回答1: I have a jQuery plugin to create a simple vertical timeline. See this for background and this for a demo. 回答2:

How to delete grid lines from Chart in WindowsForm?

廉价感情. 提交于 2019-12-29 05:03:28
问题 How can I remove grid lines from chart? I use standard Chart library. Thanks! 回答1: Assuming a single ChartArea, you can try these settings: chart1.ChartAreas[0].AxisX.MajorGrid.LineWidth = 0; chart1.ChartAreas[0].AxisY.MajorGrid.LineWidth = 0; Otherwise you may want to use: chart1.ChartAreas["ChartArea1"].AxisX.MajorGrid.LineWidth = 0; chart1.ChartAreas["ChartArea1"].AxisY.MajorGrid.LineWidth = 0; where, "ChartArea1" is the Series Property-->Chart-->Chart Area "ChartArea1" 回答2: You can

Dynamic Line chart in C# WPF Application

99封情书 提交于 2019-12-29 04:24:11
问题 Im developing one GUI in C#.Net under WPF.Actually its an application for serial communication with the embedded device,I want to show a line chart with the frequently recieved data.And also I should provide an option to save those charts and to give an option to print it.How can I draw this dynamically with the support of free libraries or softwares? 回答1: I use Dynamic Data Display for all my WPF charting needs. It supports saving the charts, is very quick, provides seamless zooming and

Dynamic Line chart in C# WPF Application

徘徊边缘 提交于 2019-12-29 04:24:09
问题 Im developing one GUI in C#.Net under WPF.Actually its an application for serial communication with the embedded device,I want to show a line chart with the frequently recieved data.And also I should provide an option to save those charts and to give an option to print it.How can I draw this dynamically with the support of free libraries or softwares? 回答1: I use Dynamic Data Display for all my WPF charting needs. It supports saving the charts, is very quick, provides seamless zooming and

Use Google Visualiztion Formatter on Rows rather than Columns

十年热恋 提交于 2019-12-29 01:54:05
问题 Google Visualization's formatter can be called on a specific column, but not on a particular row. I want to color code by the row, where each entry per row has a specific condition to meet. How can I achieve that? Call formatter.format(table, colIndex), passing in the DataTable and the >(zero-based) column number of the data to reformat. Link to Docs 回答1: along with the options in this answer, Google table Chart : how do I change the row background color based on a value, you can set