We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my method now is below , is there a better solution ?
` var myvalues = [[10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11], [10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11], [10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11], [10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11], [10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11]]; //var myvalues = [10,4,5,9,4,7,1] // $('.dynamicsparkline').sparkline(myvalues);
/* The second argument gives options such as chart type */ $('.dynamicbar').sparkline(myvalues, { type: 'bar', lineColor:false, barColor: 'green', stackedBarColor:['green','green'], tooltipFormatter: function(value){ console.log(value) return Math.abs(value); } } );`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
my method now is below , is there a better solution ?
` var myvalues = [[10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11],
[10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11],
[10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11],
[10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11],
[10,-10],[8,-8],[7,-7],[4,-4],[1,-1],[6,-6],[11,-11]];
//var myvalues = [10,4,5,9,4,7,1]
// $('.dynamicsparkline').sparkline(myvalues);
The text was updated successfully, but these errors were encountered: