@ -14,6 +14,7 @@ Changelog
* Activate element on tooltip hovering. (#106)
* Fix radar axis behaviour (#247)
* Add tooltip support in metadata to add a title (#249).
* Take config class options in account too.
2.0.0
@ -39,7 +39,7 @@ class Dual(Graph):
pos = float(x_label.get('value'))
title = x_label.get('label', self._format(pos))
elif is_str(x_label):
pos = x_pos[i]
pos = x_pos[i % len(x_pos)]
title = x_label
else:
pos = self._x_adapt(float(x_label))
@ -761,7 +761,7 @@ class Graph(PublicApi):
pos = float(y_label.get('value'))
title = y_label.get('label', self._format(pos))
elif is_str(y_label):
pos = y_pos[i]
pos = y_pos[i % len(y_pos)]
title = y_label
pos = float(y_label)
@ -30,6 +30,7 @@ class State(object):
def __init__(self, graph, **kwargs):
"""Create the transient state"""
self.__dict__.update(**graph.config.__class__.__dict__)
self.__dict__.update(**graph.config.__dict__)
self.__dict__.update(**graph.__dict__)
self.__dict__.update(**kwargs)