简体   繁体   中英

Tooltip issue on columnrange highchart

在此处输入图片说明

Thi picture shows a columnrange dataRange . xAxsis shows date and yAxsis shows hours but it is inverted :false . I am trying to format tooltip by updating the values like '1,2622,349.. ' as appear on tooltip . I couldn't find where this values comes from .

This is my yAxis

 yAxis: {

                type: 'datetime',
                labels: {
                    formatter: function () {
                        return Highcharts.dateFormat('%H:%M:%P', this.value);
                    }
                },

                title: {
                    text: 'Y Sside New'
                }
            },

Can anyone tell me where should I look in the chart to figure out this issue ?

Thanks

You need to use tooltip.formatter . Just write something which will change timestamps to string dates (like you did for yAxis.labels.formatter ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM