Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X grid option #9

Open
lenw opened this issue Jan 21, 2014 · 1 comment
Open

X grid option #9

lenw opened this issue Jan 21, 2014 · 1 comment

Comments

@lenw
Copy link

lenw commented Jan 21, 2014

I would like to add an option to enable the x grid / x axis fucntionality

on the command line :

 --x-grid MINUTE:10:HOUR:1:HOUR:4:0:%X

Any pointer on where I could start ?

@ziutek
Copy link
Owner

ziutek commented Jan 22, 2014

You need to add an option oXGrid = C.String("-x") in rd/blob/master/rrd_c.go, add a field (eg: xGrig struct{...}) in Grapher, implement (g *Grapher) SetXGrid(....) method, add some code in func (g *Grapher) makeArgs.

I'm not sure if it all but you can try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants