Skip to content

Commit

Permalink
moked data changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arqueror committed Nov 16, 2022
1 parent e842ed9 commit 64909e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/AlohaKit.Gallery/Views/MultiLineChartView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
AxisLinesFontSize="11"
AxisLinesStrokeSize="0.9"
ChartMargin="20"
ChartStyle="Curve"
ChartStyle="Line"
ExpandAndFillBackgroundCurvePath="True"
ColumnNames="{Binding Source={x:Reference thisView}, Path=ColumnNames}"
Entries="{Binding Source={x:Reference thisView}, Path=MultiSeriesChartCollection}"
GroupStyles="{Binding Source={x:Reference thisView}, Path=MultiSeriesChartStyles}"
CurveFactor="0.38"
DisplayHorizontalAxisLines="True"
DisplayVerticalAxisLines="True"
EnableEntryAnimations="True"
Entries="{Binding Source={x:Reference thisView}, Path=MultiSeriesChartCollection}"
EnableEntryAnimations="False"
FontSize="15"
FooterLabelsMargin="8"
FooterLabelsTextSize="10"
GroupStyles="{Binding Source={x:Reference thisView}, Path=MultiSeriesChartStyles}"
HeaderValuesMargin="20"
HeightRequest="200"
HorizontalOptions="FillAndExpand"
Expand Down
14 changes: 7 additions & 7 deletions src/AlohaKit.Gallery/Views/MultiLineChartView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ public partial class MultiLineChartView : ContentPage
ObservableCollection<ChartItem> _multiSeriesCollection = new ObservableCollection<ChartItem>()
{
//Group #1 |ID = 2
{new ChartItem(){ Value= 100, GroupId = 2, IsLabelBold = true} },
{new ChartItem(){ Value= 150, GroupId = 2}},
{new ChartItem(){ Value= 200, GroupId = 2, IsLabelBold = true} },
{new ChartItem(){ Value= 190, GroupId = 2}},
{new ChartItem(){ Value= 200, GroupId = 2} },
{new ChartItem(){ Value= 300, GroupId = 2} },
{new ChartItem(){ Value= 900, GroupId = 2} },
{new ChartItem(){ Value= 400, GroupId = 2} },
{new ChartItem(){ Value= 600, GroupId = 2} },

//Group #2 |ID = 3
{new ChartItem(){ Value= 200, GroupId = 3} },
{new ChartItem(){ Value= 250, GroupId = 3} },
{new ChartItem(){ Value= 300, GroupId = 3} },
{new ChartItem(){ Value= 150, GroupId = 3} },
{new ChartItem(){ Value= 400, GroupId = 3} },
{new ChartItem(){ Value= 900, GroupId = 3} },
{new ChartItem(){ Value= 100, GroupId = 3} },
{new ChartItem(){ Value= 700, GroupId = 3} },
};

ObservableCollection<string> _columnNames = new ObservableCollection<string>()
Expand Down

0 comments on commit 64909e7

Please sign in to comment.