Grouping Histograms in Highcharts

I have a situation where I need to group certain columns / columns into logical grouping for business needs. I don't care if this is a complex column or column, but I need to group specific stacks together. Individual stacks should still be tagged. Highcharts is my current goal, but if this is not possible, I will consider the idea of ​​another library. I would be very interested in an interactive example using plunker, jsfiddle etc., so I can quickly confirm the idea you are submitting, or ask for reasonable answers to questions if necessary.

Some other options:

  • My UX designers want bars to be clusters, so things like http://blacklabel.imtqy.com/grouped_categories/ will not work. We work with a lot of data.
  • I need to be able to switch between “happy” and “dissatisfied” segments, for example, with a standard stack.

Chart example

Toyota | ########%% Prius
       | ######%%   Corolla
       |
Honda  | #####%%%%  Civic
       | ###%%      Accord

'#' Happy '%' unhappy

Updates and Answers

Paweł Fus: Have you missed the column column and are grouped?

Highcharts, . , , . , . , "" , . : "" "", . -, , .

'column-stacked-and-grouped'

Prius  | ######## 
       | %%
       |
Corolla| #####
       | %% 

'#' Happy '%' unhappy

datapoints, , ,

Prius  | ########$$$ 
       | %%***
       |
Corolla| #####$$$
       | %%*** 

'#' Happy  '$' Content '*' Distatisfied '%' Unhappy

Plunker

http://plnkr.co/edit/vlsqdqROL3ekEZxO8YLp?p=preview

http://i.stack.imgur.com/A1riu.png

+4
1

: http://jsfiddle.net/1ktmb2d2/1/

:

    series: [{
        name: 'Happy',
        id: 'Happy',
        stack: 'Corolla',
        color: 'blue',
        data: [20],
        pointPlacement: -0.25
    }, {
        id: 'Unhappy',
        name: 'Unhappy',
        stack: 'Corolla',
        color: 'black',
        data: [10],
        pointPlacement: -0.25
    }, {
        linkedTo: 'Happy',
        stack: 'Prius',
        color: 'blue',
        data: [30],
        pointPlacement: 0.25
    }, {
        linkedTo: 'Unhappy',
        stack: 'Prius',
        data: [30],
        color: 'black',
        pointPlacement: 0.25
    }, {
        linkedTo: 'Happy',
        stack: 'Civic',
        color: 'blue',
        data: [ [1,30] ],
        pointPlacement: -0.25
    }, {
        linkedTo: 'Unhappy',
        stack: 'Civic',
        data: [ [1, 30] ],
        color: 'black',
        pointPlacement: -0.25
    }, {
        linkedTo: 'Happy',
        stack: 'Accord',
        color: 'blue',
        data: [ [1, 30] ],
        pointPlacement: 0.25
    }, {
        linkedTo: 'Unhappy',
        stack: 'Accord',
        data: [ [1, 30] ],
        color: 'black',
        pointPlacement: 0.25
    }]

Highcharts stackedLabels . : http://jsfiddle.net/1ktmb2d2/2/

. , , .

2: plnkr, o jsFiddle. , , Highcharts-ng stackLabels.formatter: http://plnkr.co/edit/7bjXpBXppv1UXf0YzGMZ?p=preview

+2

All Articles