charts

How do you get Angular 2 (or 4) PrimeNg Charts to refresh asynchronously?

三世轮回 提交于 2019-12-23 04:35:33
问题 Problem: How to get PrimeNg Charts to refresh asynchronously? Scenario: I have a dropdown that I want to refresh the chart based on a user selection. I thought I knew the answer to this question after gaining an understanding of Angular change detection and how I would need to reassign an object for it to see the data had been changed (as opposed to updating the data within the object in place), but after reading about many other charts and even trying them, I learned that the problem was a

How to use pastepecial to paste a chart as bitmap to another sheet in vba

混江龙づ霸主 提交于 2019-12-23 04:33:50
问题 Is there a way to use the pastspecial method to paste a copyied chart as a bitmap to another worksheet. Currently this is my syntax- PasteSheet.PasteSpecial (Format:="Bitmap", Link:=False, DisplayAsIcon:=False) Where PasteSheet is the other worksheet i want to paste to. Currently with this code, it is only pasting in the active sheet. Do i have to use select to copy then select the page i want to paste to, then change back to the sheet I copied from? I hope not as I have a lot of sheets haha.

which is the best and easy way to display stock graph in android?

十年热恋 提交于 2019-12-23 04:09:49
问题 I am developing stock app in which user can show stock detail and show stock graph. i am using yahoo finance API to list and search stocks quote, now the i want to display there graph. i m searching since 2 day but didn't way to display dynamic data graph. i have seen so many library but till i am not satisfied. because of all most library provide a way to display static data graph. in my task i want display graph with zooming facility as well as multi-touch support. If any one can support me

PHPExcel protect chart from drag and drop, and cut

扶醉桌前 提交于 2019-12-23 04:08:30
问题 I used PHPExcel to generate chart and i done it, also i have protected (read only) the file. But now i want to avoid from dragging of chart and also the cut option should be disabled or user should not be able to cut the chart. For any help thanks. 回答1: This code protects all objects in workbook - including charts: $workbook->getActiveSheet()->getProtection()->setObjects(true); Tested on PHPExcel 1.8.0. 来源: https://stackoverflow.com/questions/23578608/phpexcel-protect-chart-from-drag-and-drop

Yahoo Finance API like chart

半腔热情 提交于 2019-12-23 04:03:44
问题 I want to create a chart very similar to yahoo Finance interactive chart in a .NET application. The interactive chart on Yahoo finance is not included in their developer API. Has anyone tried to leverage their API to create a similar chart? Although the chart is very much like the one used on Yahoo, the data used for my analysis is not Stock data. So, I will not be able to call the Yahoo Url by feeding any query params. Any suggestions? 回答1: If your looking at a web based chart, the flot

ThingsBoard: plot timeseries with future timestamps in a chart widget

梦想的初衷 提交于 2019-12-23 03:58:10
问题 I've been having some troubles with TB in the last days. I have a generic variable (let's assume, for example, the external temperature), which measures are acquired at realtime using MQTT and tb-gateway. I also have the variable forecasts for a given future time period, acquired via MQTT from a Python module which performs the forecasting. I wish to plot in the same graph both the data acquired at realtime and the forecasted trend for a given time period (let's say for the next 24 hours),

How to position yAxes labels in chartJS

一曲冷凌霜 提交于 2019-12-23 03:37:51
问题 I want to align the y-axis tick labels above the ticks in chartJS. Here's what I've got so far: I want the tick labels 0M , 20M , and 40M above the tick labels. Something like this: Here's my chart config: new Chart(ctx, { type: 'bar', data, options: { ... scales: { xAxes: [{ ... }], yAxes: [{ stacked: true, position: 'right', gridLines: { drawBorder: false }, ticks: { maxTicksLimit: 3 } }] } } }) I'm not able to find any option in the chart options to do such a thing. Please help 回答1: You

Get Y-value of a graph in C#

那年仲夏 提交于 2019-12-23 03:27:06
问题 In C#, how can I get the Y-value of a point of a chart series, knowing its X-value which is of type DateTime? I do not know the index of the series, only know their names. Below are my codes. In fact I did a simulation of stock prices over time. Now I want to add the series "Service dates" to mark the specific date points of the simulation. What I need now is to set the colpos to the Y-value of the series whose name is given by colinfo.colptf Or could you just show me how to get the index of

Format time labels in charts_flutter time series chart to include hh:mm:ss

让人想犯罪 __ 提交于 2019-12-23 03:23:28
问题 Is it possible to format the labels on the xAxis of a charts_flutter time series chart to display hh:mm:ss . This answer explains how to go about formatting the code to display months and days but the information I need to display is collected a few times a minute. charts.AutoDateTimeTickFormatterSpec doesn't allow for specifying seconds. The OP on the above question alluded to a DateTimeFactory which is mentioned in the charts_flutter gallery, but I'm also unsure how to use this, or if it is

Highcharts Highstock enabledThreshold feature not working

孤者浪人 提交于 2019-12-23 03:13:08
问题 I can't seem to make it so in Highstock's AreaSpline chart in ReactJS so that markers are only visible when there are less than x in the line. I checked several fiddles and Highcharts is working with the exact same configuration. Not working: https://jsfiddle.net/0qybw7jt/ Working: https://jsfiddle.net/8uwvm1np/ The difference is found within the constructor chart vs stockChart 回答1: I had to explicitly set marker: enabled to undefined, see code: plotOptions: { series: { marker: { enabled: