Rank: Newbie
Groups: jQueryChart, jQueryDV, jQueryGauges, Moderator, MvcChart, Registered, WebFormsChart Joined: 1/15/2013(UTC) Posts: 7
Thanks: 0 times Was thanked: 0 time(s) in 0 post(s)
|
Hi Patty,
I have changed the range's innerOffset to 0.44, outerStartOffset and outerEndOffset to 0.45. Also I set the label's offset to 0.5.
Here is the modified code:
$('#jqLinearGauge').jqLinearGauge({ orientation: 'horizontal', background: '#dddddd', border: { padding: 7, lineWidth: 0 }, tooltips: { disabled: true, highlighting: false }, scales: [{ minimum: 0, maximum: 1200, interval: 200, labels: { offset: 0.5, fillStyle: '#545454' }, majorTickMarks: { lineWidth: 1.5, offset: 0.38, length: 12, strokeStyle: '#a1a1a1' }, minorTickMarks: { visible: true, lineWidth: 1.5, interval: 40, offset: 0.45, strokeStyle: '#a1a1a1' }, ranges: [ { startValue: 0, endValue: 1200, fillStyle: '#a1a1a1', innerOffset: 0.44, outerStartOffset: 0.45, outerEndOffset: 0.45 } ] } ] });
Please let me know if this works for you.
Best regards, Maxim Milev
|