Skip to content

Commit

Permalink
#7460 time zone setter for python TableDisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz Mitusinski committed Jul 13, 2018
1 parent 0065909 commit 88c317a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions beakerx/beakerx/tabledisplay/tabledisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ def setDoubleClickAction(self, listener):

self.model = self.chart.transform()

def setTimeZone(self, timezone):
self.chart.timeZone = timezone
self.model = self.chart.transform()
return self

def addContextMenuItem(self, name, func):
self.contextMenuListeners[name] = func
self.chart.contextMenuItems.append(name)
Expand Down

0 comments on commit 88c317a

Please sign in to comment.