Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • aryan verma
    Member

    Hi Dimitar

    the above example is displaying just a single int value i.e. 70%. what i am asking is that is it possible to display a decimal or float value like 55.55% inside the gauge. if yes, how to do it..

    thanks in advance.

    in reply to: jqxGauge to make multiple gauges jqxGauge to make multiple gauges #11541

    aryan verma
    Member

    Hi team

    by manipulating some of the properties, i am able to make the values to appear inside their respective gauges..

    but i am not able to view the percentage value like 55.55%.. can you please tell me how to do it…

    in reply to: jqxGauge to make multiple gauges jqxGauge to make multiple gauges #11537

    aryan verma
    Member

    Hi Team,

    in the above example, the value of second gauge is coming in the second gauge but again the third one is not in its place, i have tried all many things but i am unable to make it appear inside the third gauge.. can u please tell me how can it be done

    also how to view percentage value in the gauge like 88.33% or 55.55%..

    thanks in advance….


    aryan verma
    Member

    javascript code:

    $(document).ready(function () {
    $(‘#gaugeContainer1’).jqxGauge({
    ranges: [{ startValue: 0, endValue: 55, style: { fill: ‘#4bb648’, stroke: ‘#4bb648’ }, endWidth: 5, startWidth: 1 },
    { startValue: 55, endValue: 100, style: { fill: ‘#fbd109’, stroke: ‘#fbd109’ }, endWidth: 10, startWidth: 5 },],
    ticksMinor: { interval: 5, size: ‘5%’ },
    ticksMajor: { interval: 10, size: ‘9%’ },
    value: 0,
    colorScheme: ‘scheme05’,
    animationDuration: 1200
    });

    $(‘#gaugeContainer’).bind(‘valueChanging’, function (e) {
    $(‘#gaugeValue’).text(Math.round(e.args.value) + ‘ %’);
    });
    $(‘#gaugeContainer1’).bind(‘valueChanging’, function (e1) {
    $(‘#gaugeValue1’).text(Math.round(e1.args.value) + ‘ %’);
    });

    var a=50;
    var b=60;
    $(‘#gaugeContainer’).jqxGauge(‘value’, a);
    $(‘#gaugeContainer1’).jqxGauge(‘value’, b);
    });

    html code:

    its is showing the label on the first gauge i.e the value of the first gauge is also appearing on the first gauge and can u also tell me how can i view a decimal value like 55.71 or 88.92…

Viewing 4 posts - 1 through 4 (of 4 total)