Files
aistudio-wpf-diagram/Live-Charts-master/Examples/UWP/CartesianChart/LogarithmScale/LogarithmScaleExample.xaml
2021-07-23 09:42:22 +08:00

19 lines
823 B
XML

<Page
x:Class="UWP.CartesianChart.LogarithmScale.LogarithmScaleExample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:UWP.CartesianChart.LogarithmScale"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:lvc="using:LiveCharts.Uwp"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<lvc:CartesianChart Series="{Binding SeriesCollection}">
<lvc:CartesianChart.AxisX>
<lvc:LogarithmicAxis LabelFormatter="{Binding Formatter}" Base="10" />
</lvc:CartesianChart.AxisX>
</lvc:CartesianChart>
</Grid>
</Page>