Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDAB/KDChart
/ __init__
Method
__init__
python/examples/headers/main.py:24–25 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
22
23
class
MyDateTimeScaleFormatter(DateTimeScaleFormatter):
24
def
__init__(self):
25
super().__init__(DateTimeScaleFormatter.Hour,
"hh"
)
26
27
def
nextRangeBegin(self, datetime):
28
return
self.currentRangeBegin(datetime).addSecs(60 * 10)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected