charts

Iterating over json object for drawing a column chart?

I use, google.load('visualization', '1', {'packages': ['columnchart']}); //google.setOnLoadCallback(drawChart); function drawChart(response) { alert(response.customerlist); var data = new google.visualization.DataTable(); data.addColumn('string', 'dbZipcode'); data.addColumn('string', 'countusers'); data.addRows(resp...

Add onclick event to webcharts3d chart?

I am using webcharts3d to create a gauge graph for my webpage. I want to add an onclick event to the chart- any idea how to do that? Here is my code: <cfsavecontent variable="chartStyle"> <!--- xml chart style ---> </cfsavecontent> <cfsavecontent variable="chartModel"><?xml version="1.0" encoding="UTF-8"?> <XML type="default"> <COL>200...

How to create an excel chart using py-appscript?

Hey! I am using Excel 2011 v14 and trying to dynamically create a chart based on the selected range on my worksheet. To select a range, I use the following code segment: xl = app('Microsoft Excel') tcell = 'B' qcell = 'C' for r in xrange(2, 16): xl.cells[tcell + str(r)].value.set(r) xl.cells[qcell + str(r)].value.set(random.ra...

Create XY Scatter in ASP.NET

Hi - I have two arrays of data that I would like to display in an XY scatter. I've downloaded the ASP.NET libraries and am wondering how to display the data. This is as far as I've gotten on the front end and was wondering if anyone has suggestions on what the next steps would be (i.e. how do I bind the array data to the x and y axes?) ...

Turning jQuery charts into PDFs

I've found two jQuery charts plugins I like - flot and jqPlot. I'm thinking of using one of these on the front-end of my web site. However, I also need to be able to allow users to export data in PDF format. I'm ideally looking for a pure Python solution, but could run to Java or PHP at a push. The quality of the generated charts is the...

How do I embedd a graph in asp.net

I'm looking to graph basic database data in a X Y axis graph. I would like a solution where the users do not need to download any extra plug-ins (i.e. Silverlight). Looking for the most efficient/fastest solution where the chart is embedded into the page as a graph, instead of just looking at the table data. Is there a built-...

bind two arrays with x and y datapoints to a line chart in asp.net?

Does anyone know how to bind two arrays (x and y datapoints) to form a line chart using the asp.net chart toolkit? ...

How to build full Core-Plot with iphone project?

Hello everyone, Currently I completed my project using with CorePlot. But I have problem, when I copy my project to another folder, prepare to build before distribution, I have one problem: CorePlot-CocoaTouch.h: No such file or directory I did my project import Core-Plot like the way with this link: http://www.switchonthecode.co...

How to draw the best fit line with c#.net

Hi everyone, I have been trying to do a regression analysis on some data points with c#.net. Can anyone suggest some references to me to be able to plot the data points as well as the best fit line on one chart with c#.net? ...

Excel VBA: How do you format Charts in Excel with New Data?

Hi, I'm trying to make a macro that formats a chart in Excel 2003 where the data changes. Basically, I have a 20 X values and Y values at all times; however, the values are data specific (I'm making stock price charts that will change depending on the stock I'm analying). I'm trying to make my Y-Axis cross the X axis at the value in ce...

Gantt charts with R

Has anybody used R to create a Gantt chart? The only solution that I'm aware of is this, but I'm looking for something more sophisticated, if possible (looking more or less like this or this). P.S. I could live without the dependency arrows. P.S.2 Which are the magic words that must be given in the search textbox of R Graphical Manual...

Excel: Adding a Connector Line In a Chart (Have to Use a Macro)?

So I'm working on this chart in Excel, and the chart looks like two sides of a triange, like the picture at the link below: http://a.imageshack.us/img832/6207/triangle.png. I'd like to make a line (like, with an autoshape for example) that connects the 2 endpoints to form a triange; ie a line going from coordinates (4,1) to (4,5). I t...

Use of the TAGS element with Open Flash Charting 2 (by pullmonkey for rails)

Hi, I am trying to achieve this :: http://ofc2dz.com/OFC2/examples/Tags.html#SampleChart with ruby on rails - but its super tough! any advice out there? thanks! ak. ...

adjusting the font axes style and size in asp.net chart?

Does anyone know the properties that I need to change to decrease the font size of the axes numbers and change the font style? Also need to know how to add x and y labels. <asp:Chart runat="server" ID="Chart1" Width="340px" Height="265px"> <Series> <asp:Series Name="scatter" MarkerSize="4" ChartType="Point" Color="Green" Mar...

How to specify openflashchart link (the on-click handler actually)

I've got a bar chart with some elements.values as this: "elements":[ {"values": [ {"right":12, "colour":"#a55feb", "on-click":"http://myurl.com/" }, {"right":25, "colour":"#5757ff", "on-click":"http://another.one/" } ] ...

Candlestick/Financial Charts in Ruby

Are there any good libraries available for plotting candlestick and other types of financial charts in Ruby? I saw this similar post from over a year ago. The presented options that fit my needs from that post were Python, however. EDIT: One requirement is that I need real-time charts, updating multiple times a second. ...

MS Chart customize value label and draw Line series across the chart area

I'd like to get suggestion in both C# and VB.NET I created Chart like the following image: How can I customize the value on the top of each column from code-behind? Instead of showing 21, 49, 19 I'd like to show 21 hr, 49 hr, 19 hr How can I show the those values on top of other lines? As you can see 19 is below the Line series. Can...

How to plot one line and one scatter chart into one plot with ZedGraph libraries in .net?

I am running to a problem where I have to plot one scatter (data points), the other one the best line fit(trend line) for those data points in one chart. The X axis is datetime format which I, myself, am chaning it into a double value with a base date. The plots get plotted well individually. However, I dont get good results when I combi...

Comparison between MS Charts and ZedGraph ?

Question: Anybody has experience with ZedGraph / MS-Chart controls ? I am thinking about which to use ? Basically, I have a tendency to ZedGraph, because I need .NET framework 2.0 while MS-Chart is 3.5 (and I don't know how well a 3.5 assembly works on 2.0) and because I could use it privately, too (I use Linux privately). But I don'...

Reporting Services 2008 Chart DynamicHeight Property Creates Extra Space

I have a bar chart with horizontal bars. I used this article to setup the dynamic height property: http://blogs.msdn.com/b/robertbruckner/archive/2008/10/27/charts-with-dynamic-size-based-on-categories-or-data.aspx Everything looks fine in the viewer, but as soon as you go to print layout, pdf, et.al there is about 50% more blank space...