Public Ticket #1606256
css styling (width) for a chart


  •  1
    Patrick started the conversation

    I have a radar chart and  want to float gauges next to it:  When i inspect it looks like this:  

        <div id="chartJSContainer_3" style="height: 400px;"><iframe class="chartjs-hidden-iframe" tabindex="-1" style="display: block; overflow: hidden; border: 0px; margin: 0px; top: 0px; left: 0px; bottom: 0px; right: 0px; height: 100%; width: 100%; position: absolute; pointer-events: none; z-index: -1;"></iframe>
            <canvas id="chartJSCanvas_3" height="400" width="877" style="display: block; width: 877px; height: 400px;"></canvas>

    please can you tell me how to add a width property to the parent div of the iframe to set it to a width of 400pxs?  I hope this is not too dumb of a question.

    Attached files:  chart_1.png

  •  274
    Milan replied

    HI Patrick,
    Thank you for your purchase.

    When you making chart in chart wizard you can set custom width or to use responsive width depends of your needs. (attachment)

    Attached files:  Selection_611.png