Waterfall with two series using Highcharts - 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)

Related

Highchart Scatter Series must appear in front of the column series, but if it contains more than 5k records, it appears at the back of column series

Chart as three columns series with stacking on top and one scatter series with over 5k records. So, in the front view, we need to see the scatter first, followed by the subsequent column series. It works perfectly with less than 5k records, but if there are more than 5k, the columns chart falls back.
Demo
Expecting Series must appear in front of the column series
For large amounts of data you can use Highcharts Boost module, add to this script to your project:
<script src="https://code.highcharts.com/modules/boost.js"></script>
Blog article explain how to work with boost module:
https://www.highcharts.com/docs/advanced-chart-features/boost-module

Highcharts multiple stock series tooltip show

I have a question about several stock charts.
Put the series data into an array by name.
Hovering over the chart shows only one data.
I am curious how to make several together.
My code is here:
https://jsfiddle.net/HongRaeCho/rxpjy7nu/

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:

highchart Stacked-area - Grouping small series

Is there a way to group small series in a new 'Others' series?
I have a chart with some series that are very small, so their areas almost doesn't appears in the chart. So, what I want is to group those small series making a new serie a little bigger called 'Others'.
I did it by grouping my small series before setting them to the chart, but I think it would be better if highchart do it by his own. This way, if we hide a serie clicking in its legend, the chart could recalculte and check if the 'Others' could be ungrouped.
For example:
http://www.highcharts.com/demo/area-stacked
Since Europe and Oceania series are the smallest areas in the chart, is it possible to set some property for Highchart group those 2 series in a new one, called 'Others'? And when we click on the legend to hide some serie, highchart dinamically recalculate to check if the 'Others' serie could be divided again the the 'real' series

Column chart not showing series properly in Highcharts

I have the following charts where the series data is an array of config objects:
enter code herehttp://jsfiddle.net/AANAB/
http://jsfiddle.net/AANAB/1/
Try changing the chart type to pie.If you observe now three series will be shown.Why does the column chart consider this as one series and the pie chart as 3 series? My requirement is to be able to render the column chart and pie chart as three separate series for the same given data. Is this possible?
First and foremost thing,
pie and column are 2 completely different types of charts.
column can be said as a graph, and pie as a chart.
column chart has 2 axes namely x and y while pie is distributing the area proportionally.
there is no mistake in this one. they are rendered properely.
For pie chart the structure accepted is
{
name: name of the slice,
y: value of the slice
}
each slice has its own name like the xAxis categories we provide for column chart.
the Y has the value is common for all the highcharts.
so here what i recommend is to maintain the datasets differently for both column and pie to get what you have required.
All works properly, in pie chart you have different colours, only, so you can set the same color then you achieve the same effect as in columns.

Resources