jQWidgets Forums

jQuery UI Widgets Forums Chart Value Axis FormatFunction

This topic contains 3 replies, has 3 voices, and was last updated by  Dimitar 9 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Value Axis FormatFunction #44977

    nacis
    Participant

    Hello,

    I am using scatter series chart. Is it possible to use formatFunction in value axis as we can do in category axis. I want to put months both to value and category axis. Or is value axis only numbers?

    Thanks.

    Value Axis FormatFunction #45315

    Dimitar
    Participant

    Hello nacis,

    Yes, valueAxis has formatFunction callback:

    valueAxis:
    {
        unitInterval: 50000,
        minValue: 50000,
        maxValue: 350000,
        description: 'Sales ($)',
        formatFunction: function (value) {
            return value;
        }
    },

    Best Regards,
    Dimitar

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

    Value Axis FormatFunction #80580

    m.nour
    Participant

    Pls. i want to display the date + the label value how can i do this?

    Value Axis FormatFunction #80725

    Dimitar
    Participant

    Hello m.nour,

    You can return whatever string you wish in formatFunction. If you share more information about your scenario and some of your chart-related JavaScript code, perhaps we can better be of assistance.

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.