Page 1 of 1

Wind Tooltips?

Posted: Sun 26 Feb 2023 12:31 am
by Texsky
Just a quick question for someone who would know. Are tooltips available for the Wind Direction chart?

Thanks.

Re: Wind Tooltips?

Posted: Sun 26 Feb 2023 12:35 am
by HansR
Quick answer: No, not in the standard website.

Re: Wind Tooltips?

Posted: Tue 28 Feb 2023 7:42 am
by billy
Texsky wrote: Sun 26 Feb 2023 12:31 am Are tooltips available for the Wind Direction chart?
good question that has come to my mind previously too ... would be handy on occasion. Maybe it is a text vs real issue?

Re: Wind Tooltips?

Posted: Tue 28 Feb 2023 7:54 am
by HansR
Actually, the scatter plot is a deviation and handles the tooltip a bit different from e.g. the line or spline plot.

in CumulusUtils I use the following to get a good tooltip (see my site for an example):

Code: Select all

            tooltip: {
                xDateFormat: '%A, %b %e %H:%M ',
                pointFormatter() {
                    return this.series.name + ': ' + this.y
                },
                headerFormat: '{point.key}'
            },
Maybe this helps.