Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1300
Nice ultrachart time vs data
posted

I need to convince my management that we can do very nice plots using infragistics, up to know this is what I have:



In order have that here is my code :


            //Set the chart titles
            ChartPureAlpha.Text = TickerName;
   

            //Set Chart legend
            this.ChartPureAlpha.Legend.Visible = true;
            this.ChartPureAlpha.Legend.Location = LegendLocation.Right;
            this.ChartPureAlpha.Legend.Margins.Left = 5;
            this.ChartPureAlpha.Legend.Margins.Right = 10;
            this.ChartPureAlpha.Legend.Margins.Top = 15;
            this.ChartPureAlpha.Legend.Margins.Bottom = 90;
            this.ChartPureAlpha.Legend.SpanPercentage = 15;

            this.ChartPureAlpha.LineChart.TreatDateTimeAsString = false;
            this.ChartPureAlpha.ChartType = ChartType.ScatterChart;
            this.ChartPureAlpha.ScatterChart.ConnectWithLines = true;
            //ChartPureAlpha.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.ChartPureAlpha.Axis.X.Labels.ItemFormatString = "<ITEM_LABEL:dd-MM-yyyy>";
            this.ChartPureAlpha.Axis.X.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 25);
            this.ChartPureAlpha.Axis.X.Labels.SeriesLabels.Visible = true;
            this.ChartPureAlpha.Axis.X.Labels.SeriesLabels.OrientationAngle = 315;

            //ChartPureAlpha.Axis.X.TickmarkInterval = 1;
            //ChartPureAlpha.Axis.X.TickmarkIntervalType = AxisIntervalType.Days;
            //ChartPureAlpha.Axis.X.TickmarkStyle = AxisTickStyle.DataInterval;
            // axis label
            //ChartPureAlpha.TitleBottom.Text = "Date";
            //ChartPureAlpha.TitleBottom.HorizontalAlign = StringAlignment.Center;
            //ChartPureAlpha.TitleLeft.Text = "Raw Alpha)";
            //ChartPureAlpha.TitleLeft.HorizontalAlign = StringAlignment.Center;

           
            // Create and add series
            ChartPureAlpha.Series.Add(dowjones);


I want to know how to :

- reduce marker size
- have the whole date (not truncated)
- change the label font

Thanks for your help

Parents
No Data
Reply Children
No Data