Jump to content
Software FX Community

Samuel

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by Samuel

  1. Hi,

    I got the answer. The following line is the reason for my issue..

    ChartStrategySectorAnalysis.AllSeries.PointLabels.Format =

    " %p%%";

    In the display label, i am trying to include a space between number and % symbol. On this time it recalculates to 100 percentage.

     

    Example, there are 4 values in database... 25, 31, 15, 25.

    If the line mentioned above is not included in the code. The chart displays with the same data in the database.

    On including the line, the chart have values 26,32,26,26. (Total rounds to 100, which is wrong in my case)

    Hope i explained it clear.

    Thanks

  2. Hi,

    I am creating a bar chart, which displays 10 different sector information.

    I have just 96% over all sum of all the 10 sector values. on that case, the point values are not matching to the value in database.

    if i have 100% sum, the chart have point values matching to my database values.

    on debugging i found that chart automatically rounded up to a 100%.

    How can i make the chart. Show the actual values in the database? I dont want the over all sum to be 100%.

    i can make a change in procedure to get Missing value in seperate record.

    can i make that (point label) Missing and (point value) 4% invisible?

    Some one please provide me a solution. Urgent please

    Thanks in advance

    ChartTest.zip

  3.  

    Hello,

    In my Pie-Charts the PointLabels will be truncated. (see attachment) I'm using the following code for initialization.

    ChartAssetAllocation.Gallery = Gallery.Pie; ChartAssetAllocation.AllSeries.PointLabels.Visible = true; ChartAssetAllocation.AllSeries.PointLabels.Font = new Font("Arial", 7); ChartAssetAllocation.AllSeries.PointLabels.Format = "%l\n\r%p%%"; ChartAssetAllocation.LegendBox.Dock = DockArea.Bottom; ((ChartFX.WebForms.Galleries.Pie)ChartAssetAllocation.GalleryAttributes).ShowLines = false; ((ChartFX.WebForms.Galleries.Pie)ChartAssetAllocation.GalleryAttributes).LabelLineBreak = 10; ((ChartFX.WebForms.Galleries.Pie)ChartAssetAllocation.GalleryAttributes).MaximumLabelMargin = 15;

    In other Posts in this Forum I get the information that I have to set  MaximumLabelMargin = 100. If i do so there are more space around my chart and my pie became very small. which is not fair

    Is their any other possibility to force the Pie-Chart to wrap the text in Labels ?
  4. Hi,

    I am working with .Net 3.5 C# code behind and chartfx 7.

    I need to remove the leader lines in my pie chart.

    I found the following help in ChartFX 6.2 winforms forum.

    Is that possible to do the same in ChartFX 7.

    I am not able to access the GalleryObj... which dll should i use to access that??

    ((SoftwareFX.ChartFX.GalleryObj.Pie) char.GalleryObj).ShowLines = false;
×
×
  • Create New...