Jump to content
Software FX Community

gila ziv

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by gila ziv

  1. the first picture didn't attachaed, so i attached it to this post. thanks
  2. 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
×
×
  • Create New...