Profile Picture

Y axis labels not shown for some data with high precision values??

Posted By Niranjan Singh 12 Years Ago

Y axis labels not shown for some data with high precision values??

Author
Message
Niranjan Singh
questionmark Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 49, Visits: 179
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



Attachments



Similar Topics


Reading This Topic