charts

Why aren't google charts loading until I refresh

我们两清 提交于 2019-12-24 07:28:49
问题 I have been using google charts for a while without any problems. My code hasn't changed at all, but just lately my charts have not been loading, until I refresh the browser a few times, and wait, and then refresh again. When the charts do load they are fine. I can go to other pages and come back, and they load instantly. I will say now I load my jquery after my html rather than before, that doubley makes sure the page is loaded before the jquery. I am using mozilla firefox. If I don't close

Line Chart Report with 2 Different Scales?

核能气质少年 提交于 2019-12-24 07:28:21
问题 I have a line chart with two lines in it. Sometimes the values between them differ by a hundred or more. That leaves the bottom line looking very flat. I want both of these to remain on the same graph but is there a way to have a different scale for each line? I was told that it is possible to have one (scale) on the left and one on the right, but I have googled and googled and have not found anything useful. So any help would be great, thanks! 回答1: In the properties for the chart series

Google Charts: global point stroke-color

心不动则不痛 提交于 2019-12-24 07:26:08
问题 Attempting to set a global stroke color in chartkick. 'point { size: 18; stroke-color: #F00; }' but no variation seems to allow global config of this: pointStrokeColor: '#F00', style: 'point { stroke-color: #F00; }', point: {strokeColor: '#F00', stroke: {color: '#F00'}} google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable ([['X', 'Y', {'type': 'string', 'role': 'style'}],

Set a c# polar diagram to a specific amout of rings and segments

拜拜、爱过 提交于 2019-12-24 07:22:28
问题 I want to create a polar diagram in C# (no libary) that has a fixed amout of rings and segments. Is it also possible to change the digrees on the side so the 0 is on the right? If it is not possible in C# is there a libary for it? 回答1: This is not hard at all using the MSChart control. You can use its Polar ChartType and set the various properties of the two Axes to achieve what you want: Here is an example; add a Chart chart1 to you Form and set it up like this: Series s = chart1.Series[0];

Set a c# polar diagram to a specific amout of rings and segments

拜拜、爱过 提交于 2019-12-24 07:21:16
问题 I want to create a polar diagram in C# (no libary) that has a fixed amout of rings and segments. Is it also possible to change the digrees on the side so the 0 is on the right? If it is not possible in C# is there a libary for it? 回答1: This is not hard at all using the MSChart control. You can use its Polar ChartType and set the various properties of the two Axes to achieve what you want: Here is an example; add a Chart chart1 to you Form and set it up like this: Series s = chart1.Series[0];

Matplotlib - user enters numeric input through figure

冷暖自知 提交于 2019-12-24 07:01:03
问题 I want my figure to have a small entry window, in which the user can type a number, and the data plotted will span that many minutes. If they enter 30, they will look at a 30-minute time window, if they type 5, matplotlib picks this up, data gets trimmed, and only 5 minutes worth of data gets shown. How can I do this? I noticed that people on SO recommend using TkAgg, is there a way to do this without it? If I do use TkAgg, can you point me to a minimal example that does this in an

Multiple Charts Latency issue, SVG or HTML5 Canvas?

拈花ヽ惹草 提交于 2019-12-24 07:01:00
问题 I'm looking to build a dynamic and interactive multiple charts using Javascript. In this exercise involves moving/panning multiple charts simultaneously. I've implemented this exercise with varies charting libraries with SVG. However, I found when I started to have more than 12 charts, while panning the rendering become sluggish. Highcharts library seems to shown huge lag. Here is an example of what I'm trying to do.. This is running with amCharts, seems to be a little better. I'll add

Removing markers from silverlight line or area series

岁酱吖の 提交于 2019-12-24 06:47:06
问题 Is it possible to easily remove the data point markers from a line series or area series chart. I am using the Silverlight Toolkit charts. 回答1: Found it: <chartingToolkit:AreaSeries ItemsSource="{Binding Path=ChartData}" DependentValuePath="used" IndependentValuePath="date" IsSelectionEnabled="True"> <chartingToolkit:AreaSeries.DataPointStyle> <Style TargetType="Control"> <Setter Property="Visibility" Value="Collapsed" /> </Style> </chartingToolkit:AreaSeries.DataPointStyle> 来源: https:/

How do I get series data to display in bar chart legend

十年热恋 提交于 2019-12-24 06:44:50
问题 I have a Windows Forms Application that displays a graph from data stored in a database. I am able to get the data to display in a bar graph or pie graph. But the legend in the bar graph only displays "Series1", the name of the series. The legend of the pie chart displays a correct legend with the series data. I've searched MSDN and found several articles on adding a legend but they all have the same results. Here is my bar chart code: string[] xvals = new string[dt.Rows.Count]; int[] yvals =

Graph Axis issue

南楼画角 提交于 2019-12-24 06:38:29
问题 I am creating line graph using outputs from a thread, the threads are simulations of incoming and outgoing bill that run over a course of 52 seconds and this will be dipicted on a line graph as shown below to show the bank balance over the 52 seconds! The problem is I cannot seem to get the Y Axis calculating properly. The code below show output the red marker at the top right hand side of the axis but it does not public void paintComponent(Graphics g) { int y = 10000; // balance int x = 52 ;