The range and intervals for an axis are automatically calculated by the built-in nice range calculation engine, by default. This engine takes a raw data series and comes up with a nice human readable range of numbers in which to represent them. For example, if the data series contains points in the range 1.2 - 3.7, the engine would come up with a scale of 0 - 5 for the axis with 10 intervals of 0.5 each.
******************************************
I am working on Financial Charts. I have Daily Price values (Y Axis) as - {10, 10.05, 10.1, 10.14, 10.19, 10.22,........,11.5, 11.67,11.7}
Issue 1: The chart is not displaying intervals as mentioned in documentation given above. Also, i am not able to set chartControl1.PrimaryYAxis.DesiredIntervals to 0.25 or 0.5 as it requires integer value. Please see attached image.
Kindly guide on property that should be set to change the intervals based on the Y axis values.
Issue 2: Documentation says -
Renko Chart
Renko charting method is thought to have acquired its name from renga which is the Japanese word for bricks. Renko Charts were introduced by Steve Nison. Renko (Bricks) are drawn equal in size for a determined amount. A brick is drawn in the direction of the prior move only if prices move by a minimum amount. If prices change by the determined amount or more, a new brick is drawn.
************************************************
Bricks are drawn equal in size for determined amount. How is the Brick Size/amount calculated? Is there property to get/know the Brick Size(Amount) and if we can set to fixed value/percent based on the Price values?
Thank you.
|
this.chartControl = new Syncfusion.Windows.Forms.Chart.ChartControl();
this.tabControl = new System.Windows.Forms.TabControl();
this.SuspendLayout();
. . . . .
BindingList<SalesData> dataSource = new BindingList<SalesData>();
dataSource.Add(new SalesData("1999", 10));
dataSource.Add(new SalesData("2000", 10.05));
. . . .
dataSource.Add(new SalesData("2015", 11.5));
dataSource.Add(new SalesData("2014", 11.67));
dataSource.Add(new SalesData("2015", 11.70));
CategoryAxisDataBindModel dataSeriesModel = new CategoryAxisDataBindModel(dataSource);
dataSeriesModel.CategoryName = "Year";
dataSeriesModel.YNames = new string[] { "SalesOne"};
this.chartControl.PrimaryXAxis.ValueType = ChartValueType.Category;
this.chartControl.PrimaryYAxis.ValueType = ChartValueType.Double;
this.chartControl.PrimaryYAxis.DesiredIntervals = 20;
ChartSeries series = new ChartSeries();
series.Type = ChartSeriesType.Renko;
series.CategoryModel = dataSeriesModel;
this.chartControl.Series.Add(series);
this.chartControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.chartControl.Size = new System.Drawing.Size(800, 700);
this.Controls.Add(chartControl); |
Is there any way to implement the Renko chart in flutter
Hi Sethuran K,
We have analyzed your query and would like to inform you that you have successfully created a new forum for Renko chart in flutter. Therefore, you can follow that forum branch. As a result, we will mark this issue as resolved.
Need Information regarding Renko Chart | Flutter Forums | Syncfusion
Regards,
Nanthini Mahalingam.