Stacked Heat Map in highcharts - highcharts

I would like to create a stacked heatmap. basically i have sub categories, I would want to show in a Heatmap.
After searching I figured it is not possible to do.
So I am wondering if it is possible to create a stacked heatmap instead where sub categories would be stacked on top to make a category. A mixture of bar chart and heat map.
Please see the fiddle .. As a an example I tried to attain the objective with multiple series. As you can notice if the series have same values they just sit on top of each other. Is there a better way to visualize such a data ?
Heatmap take x,y,value. If a data had x,y,value AND Z .. What would be the best way to visualize in highcharts?
Thanks..

Related

Google Sheets: Swap X and Y Axis in Chart

I am trying to illustrate the twist in a sail using a chart, showing the effect of various twist amounts.
However, try as I might, I cannot swap the x and y axis! The cells B3:B8 are the height going up the sail, where the measurements were taken, and should be the y-axis.
The columns C:V are series, which are different sets of measurements taken at the various heights up the sail, with the degree of twist as the series' values. This is what I have:
I've also tried to create the chart from Transpose()d data (swapped rows <-> cols) but ended up with the same chart! The "Height" is supposed to be the Y-axis, and the values ("Degrees") the X-axis.
I must be missing something obvious, but Google is not my friend today. I have created a sample Spreadsheet here if anyone can help. MTIA.
Currently it is not possible to define the Y-Axis to a specific range for Smooth Line Chart, in fact, the only way this can be defined is by using Bar Chart.
As a workaround, you can use Bar Chart to define the Y-Axis like this:
Please note that it only looks best when displaying one or two series, the bars would look squished when more series are added.
As for the original intention of defining Y-axis for Line Charts, or a completely new type of chart, you can file a feature idea request here:
How To Submit a Feature Idea Request
Google Workspace Feature Idea Request Link

How to make a stacked bars chart using a single dataset with TDBChart VCL Teechart component?

I would like to create a stacked bars chart with TDBChart using a single dataset.
As far as i can see if I use TDBChart as i choose a stacked chart 2 series are added.
This component seems good to create stacked charts from many datasets, in which each dataset contains data of a specific type.
I make an example to clarify:
let's say I have a dataset (dtsSalesAllCountries) with the following info:
country
year
total_sales
in this way in principle i could plot a stacked bars chart in which I see bar per year and the total_sales for each country are stacked.
But TDBChart does this through series, so to perform my result i am currently forced to create one series per country (sqlFranceSales, sqlItalysales, sqlIndiaSales, ...)
This is quite unconvenient, each time i sell to a new country i must add a dataset. This is how it looks like with this implementation:
Please note I need to use TDBChart since I use ReportBuilder/TeeChart integration, that is based on TDBChart.
In fact what i am looking for is a pivot chart, that is not available in the Report Builder/TeeChart integration.
Is there a way with TDBCHart to achieve the stacked bars sales chart i am trying to implement using a single dataset and not one dataset per series?
For TChart itself you would configure the Data Source for the Series as a CrossTab. The extra series will then be created for you. Not sure if it can be done with TCharts embedded in ReportBuilder reports.
With source data from SQL Server:
SELECT * FROM (VALUES ('CA',2012,2500),('US',2012,5600)
,('CA',2013,3000),('US',2013,7000)
,('CA',2014,2600),('US',2014,8000))
AS A(Country,Year,Sales)
Produces:

change background color for highchart candlestick plot

I'm using highcharts candlestick chart to show our data.
In our chart we are actually showing N series with the same amount of data points, so we also want to group data points at the same index together. Like in the picture, each series has 6 data points, and we group 2N-th points of each series together by changing background color.
However we didn't find a way to change background color of candlestick chart, or is there any other way in highcharts could somehow show grouping data together?
You can use plotBands. Take a look at the example.
API Reference:
https://api.highcharts.com/highcharts/xAxis.plotBands
Example:
http://jsfiddle.net/8jrxx1t2/

Waterfall with two series using Highcharts

I'm trying to set two Waterfall series using Highcharts in the same chart, I have only see one serie in this type of chart in Highcharts samples. I have manipulate the data to be an array but still not working.
I mean two independent waterfall series (one next to each other no-stacked) , like column chart. Like this one (http://img854.imageshack.us/img854/6886/qghm.png)

Highlight option in stacked barchart in highcharts

I've developed a stacked column chart. In that if I click one stacked column I've to get all the details(all stacked columns) of that column.
Is that possible? I tried it but I didn't get a solution.
Try this demo to start with:
Column With Drilldown
You can manipulate this to get what you need. Their demo gallery is a great place to start when thinking of ideas to use.

Resources