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

AbsoluteMinimum AbsoluteMaximum AreaSeries different behavior on Android and iOS Xamarin Forms #57

Open
chaselal opened this issue Mar 28, 2017 · 0 comments

Comments

@chaselal
Copy link
Contributor

Steps to reproduce

Sample solution: https://drive.google.com/file/d/0B8YvbPIswXQ4aklmYU0xaXR1Yjg/view?usp=sharing

The gist is to plot an AreaSeries that has endpoints defined outside of the X-axis's minimum and maximum values. If AbsoluteMinimum and AbsoluteMaximum are set on the X-axis, then the series will be filled on iOS, but not on Android.

  1. Create a plot with a TimeSpanAxis and a LinearAxis. Set Minimum, Maximum, AbsoluteMinimum, and AbsoluteMaximum value on the TimeSpanAxis and Minimum and Maximum on the LinearAxis.
  2. Add an AreaSeries to the plot. Add two DataPoints to the AreaSeries, one with X less than the TimeSpanAxis's Minimum and one with X greater than the TimeSpanAxis's Maximum. Set Y values on the DataPoints. Set a fill color.
  3. Render the plot in a PlotView.

Platform: Xamarin.Forms Android and iOS
.NET version: 4.5

Expected behaviour

The area series should be filled.

Actual behaviour

The area series is filled on iOS, but not on Android.

Android:
android

iOS:
ios

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

No branches or pull requests

2 participants