Skip to content

Commit

Permalink
#7460 time zone setter for python TableDisplay (#7682)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmitusinski authored and LeeTZ committed Jul 17, 2018
1 parent a9acc64 commit 352e468
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 352e468

Please sign in to comment.