Hy,
is there a way to get a raw dictionary containing the time series stored in a database?
Let's have an example. I'm using this very simple script:
graphfile = tempfile.NamedTemporaryFile(suffix=".png")
def1 = DEF(rrdfile=reply[0].filename, vname='mydef', dsName=hist, cdef='AVERAGE')
line1 = AREA(defObj=def1, color='#FF0000', legend='My Data')
g.data.extend([def1, line1])
g.write()
This would generate a png graph containing my graph. What I would like to have is the raw
points of this graph, Then, I would save that data in csv format for later import in excel.
Is there a way to achieve this?
Thanks