Comments (2)
Strange, the available sample for forms has a ScrollView
and works for me ...
Are you sure you've put your controls inside a container view (Grid
, StackLayout
) ?
<?xml version="1.0" encoding="utf-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:microcharts="clr-namespace:Microcharts.Forms;assembly=Microcharts.Forms"
xmlns:local="clr-namespace:Microcharts.Samples.Forms"
x:Class="Microcharts.Samples.Forms.MainPage">
<ScrollView>
<StackLayout>
<microcharts:ChartView x:Name="chart1" HeightRequest="140" />
<microcharts:ChartView x:Name="chart2" HeightRequest="140" />
<microcharts:ChartView x:Name="chart3" HeightRequest="140" />
<microcharts:ChartView x:Name="chart4" HeightRequest="140" />
<microcharts:ChartView x:Name="chart5" HeightRequest="140" />
</StackLayout>
</ScrollView>
</ContentPage>
from microcharts.
Thank you!
Turns out, I'm just inexperienced at Xaml and had to put the additional elements in a master grid.
<ScrollView> <StackLayout> <Grid RowSpacing="0"> <Grid.RowDefinitions> <RowDefinition Height="325" /> <RowDefinition Height="1000" /> </Grid.RowDefinitions> <forms:ChartView x:Name="ServicesChart" WidthRequest="325" Grid.Row="0" /> <Grid x:Name="LegendGrid" Margin="20" HorizontalOptions="CenterAndExpand" VerticalOptions="StartAndExpand" Grid.Row="1"> <Label>Any other element here.</Label> </Grid> </Grid> </StackLayout> </ScrollView>
from microcharts.
Related Issues (20)
- [Question] Can Microcharts.Maui be used on .Net Android project? (not MAUI)
- [Question]Stacked barchart HOT 1
- [Question] Donut/Pie Charts (on Xamarin.Android) : How do I get the correct Colors in the Legend
- .Net 7 compatibility issues with Microcharts.Maui
- [Question] How Can I add Text In the Center Of the Dount Chart?
- Xamarin app is crashing when we scroll on multi line chart on the ListView in iOS version.
- [Bug] Microcharts.Maui 1.0.0 Does not work in .NET MAUI 8 HOT 6
- [Question] transferring a legend
- [Bug] - PieChart not centered HOT 1
- [Question] Exception occured on IOS when use all the Chart ,But it works on windows and Andriod HOT 1
- [Feature]I need to support Chinese HOT 1
- [Question] Maui support with Microsoft.Maui.Graphics instead of SkiaSharp HOT 1
- [Bug]Getting Target error when Targeting Maui App to .net 7.0 HOT 2
- [Question] Does Microchart support draw chart at live time HOT 1
- Label value text is not clear while updating ?!
- [Bug] Microcharts.IOS namespace is missing when I upgrade Xamarin.iOS to .net8.0-iOS HOT 1
- [Feature]Can we add a horizontal bar chart?
- [Bug] Publish Nuget Packages (Windows) pipeline fails due to Android 29 not being installed.
- can't change background color in .net maui [Bug]
- [Question] Usage Help. Updating chart does not remove previous chart unless resizing the screen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microcharts.