jQuery UI Widgets Forums Chart last value not displaying in chart

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 2 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • last value not displaying in chart #100954

    wpd
    Participant

    i built the chart in which last value is not displaying

    var settings = {
    title: $(“#channelListDropDown”).jqxDropDownList(‘getSelectedItem’).label,
    description: storedUnit,
    enableAnimations: true,
    //animationDuration: 1500,
    enableCrosshairs: true,
    padding: { left: 20, top: 20, right: 20, bottom: 5 },
    colorScheme: ‘scheme17’,
    showToolTips: true,
    source: graphDataAdapter,
    xAxis:
    {
    dataField: ‘index’,
    type: ‘basic’,
    valuesOnTicks: true,
    minValue: 0,
    maxValue: Size-1,
    labels:
    {
    formatFunction: function (value) {
    return value.toString();//value + ‘-‘ + ‘<br>’ +
    }
    },
    gridLines: {visible: false},
    rangeSelector: {
    size: 100,
    padding: { top: 10, bottom: 0 },
    backgroundColor: ‘white’,
    dataField: ‘value’,
    baseUnit: ‘index’,
    showGridLines: false,
    formatFunction: function (value) {
    return value.toString();
    }
    }
    },
    seriesGroups:
    [
    {
    type: ‘line’,
    linesUnselectMode: ‘click’,
    toolTipFormatFunction: toolTipCustomFormatFn,
    valueAxis:
    {
    title: {text: storedUnit+'<br>’},
    gridLines: {visible: false},
    },
    click: selectIndex,
    series: [
    {
    dataField: ‘value’,
    displayText: ‘Value’,
    lineWidth: 1,
    colorFunction: function (value, itemIndex, serie, group) {

    if (isNaN(itemIndex))
    return ‘#000099’;
    if (typeof selectedChannelRawData === ‘undefined’)
    {
    return ‘#000099’;
    }if(typeof selectedChannelRawData[itemIndex] === ‘undefined’){
    return ‘#000099’;
    }
    if(typeof selectedChannelRawData[itemIndex][‘valid’] === ‘undefined’){

    return ‘#000099’;
    }

    return (selectedChannelRawData[itemIndex][‘valid’] == true) ? ‘#000099’ : ‘#ffdf80’;
    }
    }
    ]
    }

    /*,
    {
    type: ‘area’,
    toolTipFormatFunction: toolTipCustomFormatFn,
    linesUnselectMode: ‘click’,
    valueAxis:
    {
    position: ‘right’,
    title: {text: ‘<br>Daily Volume’},
    gridLines: {visible: false},
    labels:
    {
    formatFunction: function (value) {
    return value / 1000000 + ‘M’;
    }
    }
    },
    series: [
    {
    dataField: ‘SPVolume’,
    displayText: ‘S&P Index Volume’,
    lineWidth: 1,
    opacity: 0.2
    }
    ]
    }*/
    ]
    };

    Link for the image:
    chart Image

    last value not displaying in chart #100983

    Martin
    Participant

    Hello wpd,

    Can you, please, be a bit more specific about what the issue is?
    It is not clear from the image that you have sent which last value is no appearing.
    Thank you!

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.