javascript - Highcharts yaxis higher values displayed lower - Stack Overflow

I am looking for a javascript solution to display rankings across time.Being familiar with Highcharts I

I am looking for a javascript solution to display rankings across time.

Being familiar with Highcharts I am wondering if there is a way to display rankings in a "user-friendly way", by which I mean: with the #1 ranking being at the top of the chart, and the last ranking being at the bottom.

Does anyone know if this is possible? or of an alternative solution?

I am looking for a javascript solution to display rankings across time.

Being familiar with Highcharts I am wondering if there is a way to display rankings in a "user-friendly way", by which I mean: with the #1 ranking being at the top of the chart, and the last ranking being at the bottom.

Does anyone know if this is possible? or of an alternative solution?

Share Improve this question asked Nov 22, 2011 at 11:32 Timothée HENRYTimothée HENRY 14.6k22 gold badges98 silver badges138 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 8

You can reverse the Y axis to achieve this (see ref)

yAxis: {
    title: {
        text: 'Rank'
    },
    allowDecimals: false,
    reversed: true,
    min: 0.5,
    startOnTick: false,
    endOnTick: false,
    max: 3.5
}

I made a small example resulting in:

Source here: jsfiddle

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745088928a4610570.html

相关推荐

  • javascript - Highcharts yaxis higher values displayed lower - Stack Overflow

    I am looking for a javascript solution to display rankings across time.Being familiar with Highcharts I

    14小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信