JavaScript Chart Library

There is a growing number of Open Source and commercial solutions for pure JavaScript charting that do not require Flash. In this response I will only present Open Source options. There are 2 main classes of JavaScript solutions for graphics that do not require Flash: Canvas-based, rendered in IE using ExplorerCanvas that in turns relies … Read more

Gantt charts with R

There are now a few elegant ways to generate a Gantt chart in R. Using Candela library(candela) data <- list( list(name=”Do this”, level=1, start=0, end=5), list(name=”This part 1″, level=2, start=0, end=3), list(name=”This part 2″, level=2, start=3, end=5), list(name=”Then that”, level=1, start=5, end=15), list(name=”That part 1″, level=2, start=5, end=10), list(name=”That part 2″, level=2, start=10, end=15)) candela(‘GanttChart’, … Read more

JFreeChart scaling of Boxplots with several Categories

Set the preferred size of the containing ChartPanel, not the chart, as shown here and here. Addendum: I don’t think you can usefully add a chart to a scroll pane. Instead, create a class similar to SlidingCategoryDataset that implements BoxAndWhiskerCategoryDataset. Add a scroll bar to the frame that controls the first displayed index. Addendum: A … Read more

How can i have color axis in bubble chart using Highchart?

Based on the answer from this topic – stepped-color-shading-in-highcharts-doughnut-chart. Wrapping bubble’s prototype: var bubbleProto = Highcharts.seriesTypes.bubble.prototype; bubbleProto.axisTypes = [‘xAxis’, ‘yAxis’, ‘colorAxis’]; bubbleProto.optionalAxis=”colorAxis”; bubbleProto.colorKey = ‘y’; Highcharts.wrap(bubbleProto, ‘translate’, function(proceed) { proceed.apply(this, Array.prototype.slice.call(arguments, 1)); Highcharts.seriesTypes.heatmap.prototype.translateColors.call(this); }); Live example and output http://jsfiddle.net/4y3qgdmn/41/

positioning pie slice problems

Because I really don’t understand Turbo C++ I can’t say for sure. But I think this is your solution: void Circular_arc(constint h, constint k, constint r, constint start_angle, constint end_angle) { static int offset = 0; start_angle = (start_angle + offset) % 360; end_angle = (end_angle + offset) % 360; offset = end_angle; int color … Read more

Swift – Create charts(bar, line, pie, column) programatically [closed]

After you look into documentation for charts a bit more, you would probably for example if you make a line chart LineChartView() you can have different update functions to change how it looks, for example here is one of mine: func lineChartUpdate(dataPoints: [String], values: [Double]) { //Graph data management var lineChartEntry = [ChartDataEntry]() for i … Read more