I have always been a Java developer, so suddenly dawning the C# world has been.. different. Many libraries that I normally would think are free/OS are behind pay walls. I've been doing a good deal of researching from Google, but I cannot find any free and open-source libraries for generating Heat Maps such as JHeatChart. I looked at IMSL C# Chart Guide, and the syntax looks pretty similar to JHeatChart's syntax and use (input is a 2D array with a number of paramters), but.. It's behind a paywall.
If there is none, I was just planning on getting permission from the author of JHeatChart so he can allow me to port it over from Java to C#, but that's a couple days less for me to focus on my development work, and I'm not very familiar with System.Drawing
too.
My syntax requirements are fairly simple. JHeatChart works like this:
// Create some dummy data.double[][] data =newdouble[][]{{3,2,3,4,5,6},{2,3,4,5,6,7},{3,4,5,6,7,6},{4,5,6,7,6,5}};// Step 1: Create our heat map chart using our data.HeatChart map =newHeatChart(data);// Step 2: Customise the chart.
map.setTitle("This is my heat chart title");
map.setXAxisLabel("X Axis");
map.setYAxisLabel("Y Axis");// Step 3: Output the chart to a file.
map.saveToFile(newFile("java-heat-chart.png"));