@@ -2262,6 +2262,8 @@ class TimeSeries(Panel):
22622262 :param thresholds: single stat thresholds
22632263 :param tooltipMode: When you hover your cursor over the visualization, Grafana can display tooltips
22642264 single (Default), multi, none
2265+ :param tooltipSort: To sort the tooltips
2266+ none (Default), asc, desc
22652267 :param unit: units
22662268 :param thresholdsStyleMode: thresholds style mode off (Default), area, line, line+area
22672269 :param valueMin: Minimum value for Panel
@@ -2319,6 +2321,7 @@ class TimeSeries(Panel):
23192321 showPoints = attr .ib (default = 'auto' , validator = instance_of (str ))
23202322 stacking = attr .ib (factory = dict , validator = instance_of (dict ))
23212323 tooltipMode = attr .ib (default = 'single' , validator = instance_of (str ))
2324+ tooltipSort = attr .ib (default = 'none' , validator = instance_of (str ))
23222325 unit = attr .ib (default = '' , validator = instance_of (str ))
23232326 thresholdsStyleMode = attr .ib (default = 'off' , validator = instance_of (str ))
23242327
@@ -2379,7 +2382,8 @@ def to_json_data(self):
23792382 'calcs' : self .legendCalcs
23802383 },
23812384 'tooltip' : {
2382- 'mode' : self .tooltipMode
2385+ 'mode' : self .tooltipMode ,
2386+ 'sort' : self .tooltipSort
23832387 }
23842388 },
23852389 'type' : TIMESERIES_TYPE ,
0 commit comments