charts

Draw Google Line Chart with multiple missing values

瘦欲@ 提交于 2019-12-12 10:48:49
问题 I copied this code from Google Line Chart reference and made some small changes: function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('number', 'Dag'); data.addColumn('number', 'Målvikt'); data.addColumn('number', 'Uppmätt vikt'); data.addRows([ [1, 37.8, 55.0], [2, null, 69.5], [3, null, 57], [4, null, 18.8], [5, null, 17.6], [6, null, 13.6], [7, null, 12.3], [8, null, 29.2], [9, null, 42.9], [10, null, 30.9], [11, null, 7.9], [12, null, 8.4], [13, null, 6.3

ASP.NET chart controls - how do i create this bar chart?

[亡魂溺海] 提交于 2019-12-12 10:46:48
问题 Got a chart control i wanna make from a data table. the table looks like this: alt text http://www.freeimagehosting.net/uploads/5d02ce1558.png the chart i want will look like this: ''' '''' ''''' '' ' ''''' '' ' ECCTMP ECCTMP ECCTMP Monday Tuesday Wednesday hope this makes sense for each day its grouped b y the type (email, calls). I'm just now sure how to databind it? Billy 回答1: If you're looking to group series in a bar chart then you'll need to use the Chart.DataBindTable method (MSDN).

Turning the visibility of chart series on/off using excel Macros/vba

为君一笑 提交于 2019-12-12 10:38:58
问题 I am making a line graph (chart) in Excel with several data series being plotted onto the same chart. I need to create a macro/VBA solution that can turn the visibilty of these series on/off via the pressing of a button (or tick box etc) Similar to this picture (manually done through the excel menu system) I have tried to look through all the member vars/methods on https://msdn.microsoft.com/EN-US/library/office/ff837379.aspx but haven't had much luck. I have tried playing around with bits

How to customize highlighted data point circles in Flex charts?

与世无争的帅哥 提交于 2019-12-12 10:14:35
问题 I need to customize a look and feel of standard Flex LineChart with LineSeries. I cannot figure out how to change default circles drawn when the mouse pointer is over a data point. 回答1: If you want to remove those circles, set property showDataTipTargets of chart to false . If you want to customize them, you can: Create your custom dataTipRenderer and perform skinning and drawing there. OR Extend your LineChart and override positionAllDataTips method, which is defined in ChartBase class. Here

create an OHLC data from Date, time, price using C#

╄→гoц情女王★ 提交于 2019-12-12 09:59:30
问题 I'd like to know how you convert these data series Data, Time, and Price to OHLC or Open, High, Low, Close. I am working on a bitcoin project and would like to see these data as a candlestick chart. I have seen some threads here in stockoverflow regarding the computation but I don't understand the script they were using "create an OHLC series from ticker data using R" I am referring to "Kevin"'s answer Providing a partial data here Date, strTime, dblTime, Price, Volume,SideVolume 2014-06-04

Access 2007: Hide Data Labels on Chart Object via vba with 0 values?

淺唱寂寞╮ 提交于 2019-12-12 09:55:49
问题 I have a form in Access 2007 with a Stacked Bar Chart Object that is dynamically generated depending on the current date and outputs a PDF of the chart. Everything generates and works fine, but what is happening is data labels are being applied even for series with a Null or 0 value. This leads to a mess of text in various places. I'm looking for a way via VBA to remove any labels that belong to a series with no values. I've tried ruling out null values from the SQL query and also setting the

Google Chart Timeline Participants Failed to Draw

主宰稳场 提交于 2019-12-12 09:46:16
问题 I've created a timeline viz using Google Charts and added a dashboard with a chart range filter to allow people to move around and even zoom in so as to see certain entries more clearly. While it mostly works, sometimes it throws a "participants failed to draw" error. I've looked up other responses for this type of error but couldn't find anything that worked. See a sampling below: https://groups.google.com/forum/#!topic/google-visualization-api/AFfEjG6lG7k Google Chart with slicer returns:

VBA Pivot Table On New Sheet

丶灬走出姿态 提交于 2019-12-12 09:13:27
问题 I have recorded a macro to create a pivot table and subsequent chart in VBA. It works like a charm, just not at all how I need it to. The problem is that I want to be able to run the code and have it create a table on a sheet that doesn't already exist. Basically I will run this from a button on a menu, and it should create the the table and chart on a new page. Without further adieu: Sub Macro13() ' Macro13 Macro ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _ "Main

Customize the bar colors in Google Gantt Charts

那年仲夏 提交于 2019-12-12 08:37:35
问题 This should be simple. How can I assign my own colors to the bars in Google Gantt Charts? The gantt is ignoring my colors and automatically assigning blue, red and yellow colors (in that order) to the bars and I can't seem to figure out the problem. Can someone please point out if I am missing something here or is it not supported at all at this time? Here is what I have: function drawChart() { var data = new google.visualization.DataTable(); data.addColumn({ type: 'string', id: 'task_id' },

Google Chart veritcal axis with percentage sign

蹲街弑〆低调 提交于 2019-12-12 08:27:40
问题 Im using google chart api to show line chart in my application, in that chart now i want to show the vertical axis values with percentage sign. for that i tried the following option chart.draw(data, {vAxis: {format:'#%'} } ); as mentioned in How do you set percentage in Google Visualization Chart API? by ' B Seven ' when using this method, the vertical axis values got multiplied by 100. i.e instead of '12%' - im getting 1200% in vaxis!!!! i have checked in https://developers.google.com