Skip to content

Add DateTimeAxis.ActualIntervalType and DateTimeAxis.ActualMinorIntevalType properties - #2170

Open
carlreinke wants to merge 1 commit into
oxyplot:developfrom
carlreinke:date-time-axis-properties
Open

carlreinke wants to merge 1 commit into
oxyplot:developfrom
carlreinke:date-time-axis-properties

Conversation

@carlreinke

Copy link
Copy Markdown
Contributor

It is not very useful to be able to override DateTimeAxis.CalculateActualInterval without properties to set.

Checklist

  • I have included examples or tests
  • I have updated the change log
  • I am listed in the CONTRIBUTORS file
  • I have cleaned up the commit history (use rebase and squash)

Changes proposed in this pull request:

  • Add DateTimeAxis.ActualIntervalType and DateTimeAxis.ActualMinorIntevalType properties

@oxyplot/admins

@objorke objorke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @carlreinke!
this looks good to me.

@VisualMelon

Copy link
Copy Markdown
Contributor

I think it would be worth adding a little more documentation to the properties and/or CalculateActualInterval to explain the expected usage (i.e. that they are expected to be set in CalculateActualInterval). Would suggest mentioning that the properties are protected in the change log to avoid confusion about the lack of public API.

@carlreinke

Copy link
Copy Markdown
Contributor Author

@VisualMelon How does this look?

@VisualMelon

Copy link
Copy Markdown
Contributor

Yeah, that looks good to me. Note the CI is (probably) unhappy because of #2172

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.

3 participants