gila ziv Posted May 1, 2008 Report Share Posted May 1, 2008 Hi, I am using ChartFX7. I added a chart from the type Gnatt. While writing it's properties , I wanted Axis X to be inverted. But what have happened is that now I cannot see the labels.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />---------attachment file : "gnatt" Before changing the "inverted" property to "true" it looked : ----------attachment file : "gnattFull" But I need the list above to be inverted . ("alm brand" must be first). My code: ChartGnatt.Reset(); //ChartGnatt.ToolTips = false; if (is3ar) { ChartGnatt.DataSourceSettings.Fields.Add(new ChartFX.WebForms.FieldMap("AfkastMin3Aar", ChartFX.WebForms.FieldUsage.Value)); ChartGnatt.DataSourceSettings.Fields.Add(new ChartFX.WebForms.FieldMap("AfkastMax3Aar", ChartFX.WebForms.FieldUsage.Value)); } else { ChartGnatt.DataSourceSettings.Fields.Add(new ChartFX.WebForms.FieldMap("AfkastMin1Aar", ChartFX.WebForms.FieldUsage.Value)); ChartGnatt.DataSourceSettings.Fields.Add(new ChartFX.WebForms.FieldMap("AfkastMax1Aar", ChartFX.WebForms.FieldUsage.Value)); } ChartGnatt.DataSourceSettings.Fields.Add(new ChartFX.WebForms.FieldMap("Navn", ChartFX.WebForms.FieldUsage.Label)); ChartGnatt.AxisX.PixelsPerUnit = 25; ChartGnatt.Height = Unit.Pixel(25 * dt.Rows.Count + 80); ChartGnatt.Width = Unit.Pixel(580); ChartGnatt.Border = new ChartFX.WebForms.Adornments.SimpleBorder(ChartFX.WebForms.Adornments.SimpleBorderType.Dark); ChartGnatt.Border.Color = Color.ForestGreen; ChartGnatt.Background = new ChartFX.WebForms.Adornments.SolidBackground(); ChartGnatt.PageColor = Color.White; ChartGnatt.PlotAreaColor = Color.Transparent; ChartGnatt.PlotAreaMargin.Top = 15; ChartGnatt.Gallery = Gallery.Gantt; ((ChartFX.WebForms.Galleries.Bar)ChartGnatt.GalleryAttributes).Overlap = true; ChartGnatt.LegendBox.Visible = false; //View3D ChartGnatt.View3D.AngleX = 0; ChartGnatt.View3D.AngleY = 0; ChartGnatt.View3D.Enabled = true; ChartGnatt.View3D.Rotated = true; ChartGnatt.AllSeries.Volume = short.Parse("50"); ChartGnatt.AllSeries.Border.Visible = false; ChartGnatt.AxisY.Min = double.Parse("-60"); ChartGnatt.AxisY.Max = double.Parse("120"); ChartGnatt.AxisY.Step = double.Parse("30"); ChartGnatt.AxisY.LabelsFormat.Decimals = 2; ChartGnatt.AxisY.Grids.Major.Color = Color.Black; ChartGnatt.AxisY.Grids.Major.Style = System.Drawing.Drawing2D.DashStyle.Solid; ChartGnatt.AxisY.Line.Color = Color.Black; //Axisx ChartGnatt.AxisX.Step = 1; ChartGnatt.AxisX.Grids.Major.Visible = false; ChartGnatt.AxisX.Grids.Major.Color = Color.Black; ChartGnatt.AxisX.Grids.Major.Style = System.Drawing.Drawing2D.DashStyle.Solid; //chartRemark if (is3ar && isAccumalate)//(showRemark) { TitleDockable title = new TitleDockable(); title.Dock = DockArea.Bottom; title.PlotAreaOnly = false; title.Alignment = System.Drawing.StringAlignment.Near; title.Text = "Bem Quote Link to comment Share on other sites More sharing options...
gila ziv Posted May 1, 2008 Author Report Share Posted May 1, 2008 the first picture didn't attachaed, so i attached it to this post. thanks Quote Link to comment Share on other sites More sharing options...
maried Posted May 2, 2008 Report Share Posted May 2, 2008 As you sent email to our support team about this issue, please check the support incident which you created. Make sure you have the latest service pack of Chartfx 7 installed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.