Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Designer keeps throwing LiveChartsException("One axis has an invalid range.... #867

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

williamsj2016
Copy link

When binding to MaxValue or MinValue for an axis this error keeps cropping up with a stacktrace.

Summary

Added the !View.IsInDesignMode check on the y-axis just like the x axis.

Solves

Designer in Visual Studio continuously throwing an exception.

 When binding to MaxValue or MinValue for an axis this error keeps cropping up with a stacktrace.
@Mrxx99
Copy link

Mrxx99 commented Sep 22, 2018

You could propably mention in the title and description which error it fixes.

@williamsj2016 williamsj2016 changed the title Designer keeps throwing this error. Designer keeps throwing LiveChartsException("One axis has an invalid range.... Sep 22, 2018
@williamsj2016
Copy link
Author

Thanks Mrxx99, wasn't thinking.

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

Successfully merging this pull request may close these issues.

None yet

2 participants