Home
last modified time | relevance | path

Searched refs:minimum_label_spacing (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/third_party/graphy/graphy/
Dformatters.py135 def AdjustLabels(self, axis, minimum_label_spacing): argument
136 if minimum_label_spacing is None:
144 if minimum_label_spacing > maximum_possible_spacing:
145 minimum_label_spacing = maximum_possible_spacing
152 if labels[i - 1][0] - labels[i][0] < minimum_label_spacing:
153 new_position = labels[i - 1][0] - minimum_label_spacing
160 if labels[i][0] - labels[i + 1][0] < minimum_label_spacing:
161 new_position = labels[i + 1][0] + minimum_label_spacing