Skip to content

Conversation

@fiznool
Copy link
Contributor

@fiznool fiznool commented Oct 11, 2012

Fixes issue #153. The master branch chops off the axis datapoint labels when using a line chart. This pull request fixes this by adding a configurable custom offset.

See images below, notice that the 4.0% label is cut off.

Before:

Line chart with axis label cut off

After:

Line chart with axis label not cut off

This is achieved with an extra offset option:

grid: {
  offset: {
    top: 10,
    bottom: 0,
    left: 10,
    right: 10
  }
}

@drichert
Copy link

drichert commented Nov 7, 2012

👍

@tanek100
Copy link

it would be nice to have this in main code also, not in branch because i just updated the library and i lost the offset nice feature.
flotr2_bugs_lime

@atuttle
Copy link

atuttle commented Feb 18, 2013

👍

@cesutherland
Copy link
Member

I'll get this in.

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.

5 participants