Closed SuggeElson closed 9 years ago
update: made line chart responsive. @SuggeElson
How this work ? i see your plugin define the with to .chart class class="chart line" style="width: 640px; height: 220px
@SuggeElson For example if you where to add this to your stylesheet
.chart{width:400px;}
or
#chartId{width:400px;}
it will scale with it respectively
I know but when try to resize it dynamic plugin redraw the lines correct but not the points.
If you where to do for example:
$(window).resize(function(){
$('.line-chart').cssCharts({type:"line"});
});
You would see it update/redraw when you resize the window.
Great start but can you make it responsive i.e 100% width.