Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip formatter in a Doc example #113

Closed
steven-pribilinskiy opened this issue Sep 19, 2018 · 1 comment
Closed

Tooltip formatter in a Doc example #113

steven-pribilinskiy opened this issue Sep 19, 2018 · 1 comment

Comments

@steven-pribilinskiy
Copy link

steven-pribilinskiy commented Sep 19, 2018

At this doc page that code is not functioning:

            tooltip: {
                y: {
                    title: {
                        formatter: function (val) {
                            if (val === 'Session Duration') return val + " (mins)"
                            else if (val === 'Page Views') return val + " per session"
                            return val;
                        }
                    }
                }
            },
@junedchhipa
Copy link
Contributor

Fixed the code - the website page will also be updated soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants