HI,
we've added sparkline support into the latest build myDBR 3.2.0 (build 1348).
See the demo report at:
Sparkline support is based on Gareth Watts' jQuery plugin.
--
myDBR Team
HI,
we've added sparkline support into the latest build myDBR 3.2.0 (build 1348).
See the demo report at:
Sparkline support is based on Gareth Watts' jQuery plugin.
--
myDBR Team
This is a great addition. Many thanks.
Trevor
There's some error in this demo page, please check!
There seems to be an issue with Firefox. All other browsers work ok. We'll take a look at it.
--
myDBR Team
The issue with Sparklines and Firefox is now fixed. Thank you for pointing this out.
--
myDBR Team
thanks, it works fine now.
hi, when I create the sparkline for the last twelve months' data, the chart doesn't fill up the whole column and only align a little bit on the left. Is there anyway I can make the sparkline chart to fill 100% the width of the column and align it to the center of the column?
please check the screenshot here: https://drive.google.com/open?id=1NT2YLCN74OwfR1cmoanyMOiSmG_367zP
You can define the width and the height of the sparkline in the sparkline options:
$('.spark').sparkline('html', { type: 'line', height: '2.0em', width: '12em' });
The table cells also have padding. You can set CSS padding:0
to the sparkline TD
-element
--
myDBR Team
I copied the above line to the sparkline options and the sparklines disappear, I'm not sure why. Could you try in this demo report?
If the sparkline disappears, you most likely have a JavaScript error in the report. Check the quotation marks in the report. You can also check your browser debugger for clues and/or takea a look the page source code.
The demo report already used multiple options. Here is a simplified version of a sparkline chart with options.
--
myDBR Team
great, thanks, it works flawlessly!
You must log in to post.