Skip to content

Conversation

@mjeanroy
Copy link
Contributor

@mjeanroy mjeanroy commented Oct 4, 2016

See #3416

Copy link
Member

@etimberg etimberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to merge.

@etimberg etimberg merged commit b64cab0 into chartjs:master Oct 4, 2016
@simonbrunel simonbrunel modified the milestone: Version 2.4 Nov 4, 2016
@kasimkha
Copy link

I have done the changes in my core.tooltip.js file then generated bundle for the minified js files and using this in my angular module. For setting background of tooltip dynamically i have added
Chart.Tooltip.prototype.drawBackground = function(pt, vm, ctx, tooltipSize, opacity) {
// New implementation
debugger;
if (vm.dataPoints[0].xLabel == 2) {
vm.backgroundColor = 'rgb(45,156,219)';

}
return vm.backgroundColor;
}; but the same isn't seem to be working.Am i doing something wrong ?

@kasimkha
Copy link

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

Successfully merging this pull request may close these issues.

4 participants