How to scroll my grid


#1

First a would let you show what i have at this moment.

You wil see that the legende is stretch out but the horizontal bar is not.
If i change the size off the grid the legende stay the same but the bars are increasing or decreasing.
I would like to have the bars the full height so i can get a scroll bar on the left site to scroll up and down.

My code is:

function soortverdelingoverig() {
statusBar = dhxLayout.attachFooter("gridFooter");
dhxLayout.cells("b").setText("Verdeling overige soorten nesten en broedparen excl. verliezen");
dhxLayout.cells("b").setHeight(500);
dhxLayout.cells("c").setText("Tabel verdeling overige soorten");
document.getElementById('pagingArea').innerHTML = '';

var chartConfig = {
    container: "chart_container",
    view: "barH",
    value: "#totaal#",
    label: "#id# (#totaal#)",
    padding: {
        top: 3,
        right: 150
    },
    group: {
        by: "#data4#",
        map: {
            totaal: ["#data6#", "sum"]
        }
    },
    legend: {
        width: 165,
        align: "left",
        valign: "top",
        template: "#id#",
    },
    sort: {
        by: "#totaal#",
        as: "int",
        dir: "desc"
    }

};
dhxChart = dhxLayout.cells("b").attachChart(chartConfig);

#2

I apologize for such a long delay with the reply.
If it is still actual:

the only solution is to place the html-container with the defined sizes to your layout cell and attach a chart to that container instead of attaching it to the layout cell directly.