Line Chart larger then specified in height
-
Hi, I am looking into using this code but having some issues. I am trying to make a non-symmetrical chart using the code:
[wp_charts title="linechart" type="line" align="alignleft" margin="5px 20px" datasets="40,43,61,50,20,40,20 next 33,15,40,32,38,57,46" labels="one,two,three,four,five,six,seven" scaleoverride="true" scalesteps="8" scalestepwidth="10" scalestartvalue="0" scaleFontSize="16" canvaswidth="900px" canvasheight="300px" relativewidth="2" width="900px" height="300px"]
I want the chart to be 300px max-height but when I look at the code with inspect I see:
<div class="alignleft wp-chart-wrap" style="max-width: 100%; width: 900px; height: 450px; margin: 5px 20px;" data-proportion="2"><canvas id="linechart" height="300" width="900" class="wp_charts_canvas" data-proportion="2" style="width: 900px; height: 450px;"></canvas></div>
Can the graph height go lower than 450px?
On another note, are there labels on hover for the data points on the line graph?
- The topic ‘Line Chart larger then specified in height’ is closed to new replies.