def _init_args(self):

        title = self.conf.get('trend.title',
                "%s - %s" % (self.host, self.rrd))
        axis_min = self.conf.get('trend.axis_min', "0")
        axis_max = self.conf.get('trend.axis_max', None)
        axis_label = self.conf.get('trend.axis_label', None)
        base = self.conf.get('trend.base', 1000)

        self.args = ["-s", "-1%s" % self.period,
                     "--title", title,
                     "--alt-autoscale-max", "--alt-y-grid",
                     "--lower-limit", str(axis_min)]
        if axis_max:
            self.args += ["--upper-limit", str(axis_max)]
        if axis_label:
            self.args += ["--vertical-label", str(axis_label)]
        if base:
            self.args += ["--base", str(base)]

        # Add the _state ds that all of them have
        self.args += ["DEF:_state=%s:_state:MAX" % rrd_esc(self.rrd_path),
                      "CDEF:_state_ok=_state,0,EQ",
                      "CDEF:_state_warn=_state,1,EQ",
                      "CDEF:_state_crit=_state,2,EQ",
                      "CDEF:_state_unkn=_state,3,EQ",
                      "TICK:_state_ok#ddffcc:1.0:Ok",
                      "TICK:_state_warn#ffffcc:1.0:Warning",
                      "TICK:_state_crit#ffcccc:1.0:Critical",
                      "TICK:_state_unkn#ffcc55:1.0:Unknown\\n"]
Build the initial part of the rrdgraph args
dataset/ETHPy150Open marineam/nagcat/python/nagcat/graph.py/Graph._init_args