]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Better Example 1599/head
authorTanner Linsley <tannerlinsley@gmail.com>
Sun, 1 Nov 2015 00:17:52 +0000 (18:17 -0600)
committerTanner Linsley <tannerlinsley@gmail.com>
Sun, 1 Nov 2015 00:17:52 +0000 (18:17 -0600)
samples/line-customTooltips.html

index 680db627aa1c43e87604d6641147b06a14c70bfe..193fa3b82314def98de2ce3e56173fcef4ee7539 100644 (file)
 
 <body>
   <div id="canvas-holder1">
-    <canvas id="chart1" width="300" height="30" />
+    <canvas id="chart1" width="300" height="100" />
   </div>
   <script>
     Chart.defaults.global.pointHitDetectionRadius = 1;
     var customTooltips = function(tooltip) {
 
-      console.log(tooltip.opacity);
+      console.log(tooltip);
 
       // Tooltip Element
       var tooltipEl = $('#chartjs-tooltip');