Skip to content

Conversation

@asleepysamurai
Copy link

Hi,
I needed to be able to draw grid lines parallel to the x-axis alone, for a project I'm working on so I added an option 'grid_axis' to enable me to specify which grid lines to draw.
Usage:

grid_lines: {x: true, y: false} //This will cause grid to be drawn only parallel to x-axis.

By default both grid_axis.x and grid_axis.y are set to true, so as not to deviate from existing default behaviour.

@uiteoi
Copy link
Owner

uiteoi commented Nov 30, 2011

Hi sleepy samurai,

Thanks for your interest in this Ico fork.

I will soon implement this slightly differently, updating the grid option which is only a Boolean for now but will become an object. I also plan on using this opportunity to allow to provide grid attributes with this new grid object and make grid a first-class Ico.Component.

I will let you know by updating this issue.

Regards,
Jean.

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

Successfully merging this pull request may close these issues.

2 participants