mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-07 18:20:51 +08:00
19 lines
823 B
XML
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>
|