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

tooltipFormat does not work in case of bubble chart... #3029

Closed
sunilnagi opened this issue Jul 25, 2016 · 0 comments
Closed

tooltipFormat does not work in case of bubble chart... #3029

sunilnagi opened this issue Jul 25, 2016 · 0 comments

Comments

@sunilnagi
Copy link

var objBubleNew = {
type : 'bubble',
options : {
maintainAspectRatio : false,
responsive : true,
tooltips : {
mode : 'single'
},
scales : {
xAxes : [{
type : "time",
display : true,
interval : 1,
intervalType : "day",

                time : {
                    format : 'YYYY-MM-DD HH:mm',
                    //displayFormat : 'YYYY-MM-DD HH:mm',
                    //format : 'MMM DD, YYYY',
                    displayFormat : 'MMM DD, YYYY',
                    tooltipFormat : 'YYYY-MM-DD',
                    // round: 'day'
                },

            }],
            yAxes : [{
                display : true,
                ticks : {
                    beginAtZero : true,
                    max : 24
                },
                scaleLabel : {
                    display : true,
                    labelString : 'Hours'
                }

            }],
        }
    },

}

tooltip still show in "YYYY-MM-DD hh:mm" format....

@etimberg etimberg added this to the Version 2.4 milestone Sep 25, 2016
etimberg added a commit that referenced this issue Oct 6, 2016
Fix bubble chart tooltip callback to use correct label parsed from scales. Fixes #3029
exwm pushed a commit to exwm/Chart.js that referenced this issue Apr 30, 2021
Fix bubble chart tooltip callback to use correct label parsed from scales. Fixes chartjs#3029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants