jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: overlapping of x-axis values overlapping of x-axis values #89216

    adroit18
    Participant

    als my graph should have started corresponding to 0 of y-axis but it starts after some space chow by red color. kindly solve my problem if possible, thanks in advance

    hell

    in reply to: overlapping of x-axis values overlapping of x-axis values #89215

    adroit18
    Participant

    the code being

    var settings = {
    showToolTips:true,
    source: completeChartDataObject[channelId],
    title: ” “,
    description: ” “,
    xAxis: {
    dataField: ‘timestamp’,
    type: ‘date’,
    gridLines: {
    visible: false,
    },
    baseUnit: ‘second’,
    tickMarks: {
    visible: true,
    color: ‘#888888’
    },
    valuesOnTicks: true,
    labels: { angle: 0, offset: { x: 0, y: 0} },
    unitInterval: 445, //autorefreshTime
    formatFunction: function (value) {
    var returnVal;
    returnVal = $.jqx.dataFormat.formatdate(value, “HH:mm:ss”);
    return returnVal;
    },
    },
    seriesGroups: [
    {
    type: ‘column’,
    alignEndPointsWithIntervals: true,
    valueAxis: {
    minValue: 0,
    maxValue:yaxisArray[channelId][0],
    title: {
    text: ‘Errors’
    }
    },
    series: [
    {
    dataField: ‘value’,
    gridLines: { visible: false },
    colorFunction: function (value, itemIndex, serie, group) {
    return ((value <= 0) ? ‘#00FF00’ : ‘#FF0000’);
    }
    }
    ]
    }
    ]
    };

    in reply to: overlapping of x-axis values overlapping of x-axis values #89214

    adroit18
    Participant

    i have fixed the issue using unitinterval… but in this case can you tell me how to reduce the space between last interval point
    and the chart end kindly if you can tell me

    code image

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