Here are my setting for y axis scale:
chartPrimaryYAxis = chart.Axis(StandardAxis.PrimaryY);
// Primary Y Axis Configuration
NLinearScaleConfigurator linearScale = chartPrimaryYAxis.ScaleConfigurator as NLinearScaleConfigurator;
NScaleStripStyle stripStyle = new NScaleStripStyle(new NColorFillStyle(Color.Beige), null, true, 0, 0, 1, 1);
stripStyle.Interlaced = true;
stripStyle.SetShowAtWall(ChartWallType.Back, true);
stripStyle.SetShowAtWall(ChartWallType.Left, true);
linearScale.StripStyles.Add(stripStyle);
linearScale.Title.Text = string.Empty;
linearScale.Title.TextStyle.FillStyle = new NColorFillStyle(Color.Red);
//linearScale.Title.Offset = new NLength(5);
linearScale.Title.Angle = new NScaleLabelAngle(90);
linearScale.LabelStyle.TextStyle.StringFormatStyle.HorzAlign = Nevron.HorzAlign.Right;
//linearScale.EnableDecimalRounding = true;
//linearScale.LabelValueFormatter.FormatSpecifier = "N2";
// Set Paging View of Axis
chartPrimaryYAxis.PagingView = new NNumericAxisPagingView();
Check the attachment documents.. i am using datatime x axis scale and linear scale for y axis..
Hope to hear from someone soon.
Thanks in advance.
Data is something link that 24 hours for each day. it have just 0.2 difference in Min and Max Value. Y axis does not draw but shown something when i set the
linearScale.ViewRangeInflateMode = ScaleViewRangeInflateMode.MajorTickExtend;
chart data:
Time Stamp Value
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000
1/1/2011 108980097.7106330000