I have a fairly standard chart, however the site will also be used on mobile/tablet devices. Is it possible to make a smoothie chart responsive?btw, thanks for the amazing library :)
--
You received this message because you are subscribed to the Google Groups "Smoothie Charts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothie-char...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is a proposed hack in a very simplistic form...
Now, if the requirement is to have responsive width for a chart, how about listening to the window resize event, and then adjusting the chart width attribute on resize?
$( window ).resize(function() {
var y = $( window).width();
$('#chart').attr('width', y-50 );
});