Search found 7 matches

by Bank Van Breda
Fri May 28, 2021 12:33 pm
Forum: .NET
Topic: Left margin AreaLineChart
Replies: 10
Views: 22008

Re: Left margin AreaLineChart

Not in our actual production app. Everything is abstracted away from the View and handled in the ViewModel...
by Bank Van Breda
Tue May 25, 2021 7:51 am
Forum: .NET
Topic: Left margin AreaLineChart
Replies: 10
Views: 22008

Re: Left margin AreaLineChart

I added the sample here : https://github.com/Depechie/Charting
It does not contain our license file of course :)
by Bank Van Breda
Fri May 21, 2021 1:57 pm
Forum: .NET
Topic: Left margin AreaLineChart
Replies: 10
Views: 22008

Re: Left margin AreaLineChart

So the problem is with graphs being rendered invisible and shown later... Here I load the same graph twice on the page, the first one is just like your sample the second one has a bool bound to IsVisible and will become visible with the button click. This will render it smaller! Cfr screenshots. Do ...
by Bank Van Breda
Fri May 21, 2021 1:51 pm
Forum: .NET
Topic: Left margin AreaLineChart
Replies: 10
Views: 22008

Re: Left margin AreaLineChart

Ha, found the difference!
When toggling the chart with IsVisible, it will be smaller!
by Bank Van Breda
Fri May 21, 2021 1:32 pm
Forum: .NET
Topic: Left margin AreaLineChart
Replies: 10
Views: 22008

Re: Left margin AreaLineChart

Seems our screen design is doing something, because the demo app I created to share does indeed not have this problem.
In other words, I need to digg deeper in our production app.

Sorry for the inconvenience and time, thanks for the tip.
by Bank Van Breda
Fri May 21, 2021 10:30 am
Forum: .NET
Topic: Left margin AreaLineChart
Replies: 10
Views: 22008

Re: Left margin AreaLineChart

I will try to recreate a sample.
by Bank Van Breda
Tue May 18, 2021 10:19 am
Forum: .NET
Topic: Left margin AreaLineChart
Replies: 10
Views: 22008

Left margin AreaLineChart

We use the AreaLineChart in our Xamarin Forms application.
But no matter what we set the WidthRequest to, there is always more left margin white space than on the right side.
We set the control to Center.

Cfr screenshot.

How can we get equal margins?