Adding Name of Series to Smoothie Tooltip

142 views
Skip to first unread message

Steven R

unread,
Feb 6, 2019, 12:03:28 PM2/6/19
to Smoothie Charts
Hello, 

I am using the Smoothie Chart Tooltip CSS from the Smoothie Charts Builder

div.smoothie-chart-tooltip {
  background: #444;
  padding: 1em;
  margin-top: 20px;
  font-family: consolas;
  color: white;
  font-size: 10px;
  pointer-events: none;
}

​Is there a quick way to add the name of the series to the tooltip? 

​Thank you, 
Steven Ramey

Cuoax Gaming

unread,
Aug 1, 2019, 7:33:08 AM8/1/19
to Smoothie Charts
In smoothie.js you can add name inside SmoothieChart.tooltipFormatter function. Just write this:

lines.push("your text here");
Reply all
Reply to author
Forward
0 new messages