Note that there are some explanatory texts on larger screens.

plurals
  1. POScrollable Stacked Column Chart using highcharts?
    primarykey
    data
    text
    <p>I need a stacked column chart to be created to display the data captured for a requirement as below.</p> <p>Show the hours worked by an employee against different projects (Project1,Project2, Project3).</p> <p>I tried to use Highcharts. When I tried to enable the Scrollable feature for the chart, as there can more number of employees, the labels (employee names) are not getting displayed in the X-axis.</p> <p>Also, the scrolling seems to be incorrect.</p> <p>Can anyone help me on making this chart scrollable and also show the employee names as labels on X-Axis.</p> <p>I have shared the chart I have created so far in ,</p> <p><a href="http://jsfiddle.net/sri421/Yyq5N/1/" rel="nofollow">http://jsfiddle.net/sri421/Yyq5N/1/</a></p> <p>The code is also as below, $(function() { $('#container').highcharts('StockChart', {</p> <pre><code> chart: { type: 'column', inverted:true }, title: { text: 'Total Hours worked Vs Different Projects' }, xAxis: { categories: ['user1', 'user2', 'user3', 'user4', 'user5','user6', 'user7', 'user8', 'user9', 'user10','user11', 'user12', 'user13', 'user14', 'user15','user16', 'user17', 'user18', 'user19', 'user20'], labels: { rotation: -45, align: 'right', style: { fontSize: '13px', fontFamily: 'Verdana, sans-serif' } } }, yAxis: { min: 0, title: { text: 'Total Hours Worked' }, stackLabels: { enabled: true, style: { fontWeight: 'bold', color: (Highcharts.theme &amp;&amp; Highcharts.theme.textColor) || 'red' } } }, plotOptions: { column: { stacking: 'normal' } }, scrollbar: { enabled:true }, rangeSelector: { enabled: false }, series: [{ name: 'Project1', data: [5, 3, 4, 7, 2,5, 3, 4, 7, 2 ,5, 3, 4, 7, 2,5, 3, 4, 7, 2] }, { name: 'Project2', data: [2, 2, 3, 2, 1,5, 3, 4, 7, 2, 5, 3, 4, 7, 2,5, 3, 4, 7, 2] }, { name: 'Projecct3', data: [3, 4, 4, 2, 5,5, 3, 4, 7, 2, 5, 3, 4, 7, 2,5, 3, 4, 7, 2] }] }); </code></pre> <p>}); Thanks, Sri</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload