public ScrollingSample()
        {
            InitializeComponent();
            Title = AppResources.ScrollingTitle;

            this.flexChart.ItemsSource = ChartSampleFactory.FinancialData();
            this.flexChart.Palette     = Xuni.Forms.ChartCore.ChartPalettes.Midnight;
            this.flexChart.HeaderText  = AppResources.ScrollZoomInstructions;
        }
        public FinancialChart()
        {
            InitializeComponent();
            Title = AppResources.FinancialChartTitle;

            this.flexChart.ItemsSource         = ChartSampleFactory.FinancialData();
            this.flexChart.ChartType           = ChartType.Candle;
            this.flexChart.Legend.Position     = Xuni.Forms.ChartCore.ChartPositionType.None;
            this.flexChart.AxisY.MajorGridFill = Color.FromRgba(50, 50, 50, 20);
            this.flexChart.AxisX.Format        = "yyyy/MM/dd";
            this.pickerChartType.Items.Add(ChartType.Candle.ToString());
            this.pickerChartType.Items.Add(ChartType.Hloc.ToString());
            this.pickerChartType.SelectedIndex = 0;
        }
 public FinancialChart()
 {
     InitializeComponent();
     this.flexChart.ItemsSource = ChartSampleFactory.FinancialData();
 }