Sparkline and fixing layout for tooltip