Jump to content
Software FX Community

Selvam84

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by Selvam84

  1. Hi All,

    I am using Pie Chart in my application and "SeparateSlice" property so that each slice will be seperated by a whitespace

    but my problem is the whitespace provided by the seperateslice property is not uniform for all the slices, it is getting adjusted based on the slice percentage value.

    So the whitespace for slice with 50% is higher than the slice with 25% and 5%.

    How can i make the whitespace as uniform between all slices

    Thanks

    Panneerselvam

  2. I am New to ChartFX, I am using Bar chart with two series (0,0) (1,0) and an additional Y axis so that each

    series will be mapped against diff Y axis which is working fine

    But when i tried to assign Label to the series as below

    Chart1.Series[0].AxisX.Labels[0] = "Label1";

    Chart1.Series[1].AxisX.Labels[0] = "Label2";

    I can see only one label i.e "Label1" between the bars I couldn't see "Laebl2"

    Another option I tried is I used two series (0,0) (1,1)

    and assigned label as follows

    Chart1.Series[0].AxisX.Labels[0] = "Label1";

    Chart1.Series[1].AxisX.Labels[1] = "Label2";

    here i can see both the labels but they are aligned to the edge of the bar's like below, But I want the labels to be aligned to the center of the Bar somehow. Is it possible with two series in Bar chart, Please help me, Thanks 

    ----- ------

    | | |   |

    | | |   |

    | |   |   |

    | | |   |

    --------------------------------------

      Label1   Label2

    post-4692-13922412784413_thumb.jpg

  3. HiI have a Gannt Chart with Single Seriesand i want to use two diff color for the same point

    For ex:

     If the data for "Chart.Points[0, 0]" ranges from 3 to 9i want to set two different color for "Chart.Points[0, 0]"

    say "Chart.Points[0, 0]" should be in "Red" from "3 to 6"and from "7 to 9" I want to set it as "Yellow"

    so that one half of the point is 'Red' and another half is 'Yellow'.

    Please Help,Thanks

  4. Hi

     I am using Gantt with RandomData-Style="NegativeValues" i.e "2D Horizontal Zero Axis Chart",

    in default Which will have -values and +values like the below

    if i set Min =-2,Max=3 and step=1

    |

    |

    |

     |

    -------------------------------------------

    -2  -1 0 1   2   3

    instead of the above i want to have the chart with dates on the Y axis since i am getting date as input values

    I want to set Today date i.e "22 jun" as "0" value and previous date as "-" values and future date as "+" values

    how should i set min,max and 0  as date so that i can get the below

    |

    |

    |

    |

    ----------------------------------------------------------------------

    22April 22May 22Jun 22july  22Aug

    Please help, Thanks

  5. Hi

    Is it possible to have line between legendbox item

    Ex instead of

    *legenditem1

    *legenditem2

    *legenditem3

     

    shall we have legendbox like this

    ------------------------------

    * legenditem 1

    ------------------------------

    * legenditem 1

    ------------------------------

    * legenditem 3

    ------------------------------

    Please help

  6. Thanks for your reply but i am still not able to hide the default legend box of the pie chart,

    I am using the below code, and am having two items in the legend box

    ChrPieChart.LegendBox.ItemAttributes[ChrPieChart.Series].Visible = false;

    CustomLegendItem c = new CustomLegendItem();

    c.Text = l_LabelName + " " + l_Labelvalue + "%";

    c.Picture = icon;

    c.MarkerShape = MarkerShape.Picture;

    c.Color = Color.Orange;

    ChrPieChart.LegendBox.CustomItems.Add©;

    i even tried using

    ChrPieChart.LegendBox.ItemAttributes[ChrPieChart.Series,0].Visible = false;

    ChrPieChart.LegendBox.ItemAttributes[ChrPieChart.Series,1].Visible = false;

    and i am using the above code inside for loop like

    for loop

    {

    ChrPieChart.LegendBox.ItemAttributes[ChrPieChart.Series].Visible = false;

    CustomLegendItem c = new CustomLegendItem();

    c.Text = l_LabelName + " " + l_Labelvalue + "%";

    c.Picture = icon;

    c.MarkerShape = MarkerShape.Picture;

    c.Color = Color.Orange;

    ChrPieChart.LegendBox.CustomItems.Add©;

    }

     

  7. Hi <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    I am going to add customized legent by using the following code

     

    CustomLegendItem c = new CustomLegendItem();

      ChrPieChart.LegendBox.CustomItems.Add©;

     

    But both default and customized legends are appearing, how do I hide default legend

     

    Please help

     

  8. Hi <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    I am going to add customized legent by using the following code

     

    CustomLegendItem c = new CustomLegendItem();

      c.Text = "NA";

      c.Picture = icon;

      c.MarkerShape = MarkerShape.Picture;

      c.Color = Color.Orange;

      ChrPieChart.LegendBox.CustomItems.Add©;

     

    But both default and customized legends are appearing, how do I hide default legend

     

    Please help

     

  9. Hi

    How can I assign color as <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />RGB value or hexadecimal? <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

    For example instead of

    ChrBarChart.Series[0,1].Color = Color.Red;

    I want to use

    ChrBarChart.Series[0].Color = RGB values of a color to a hexadecimal string

    Please help.

    Thanks

     

  10. Hi All,I am new to ChartFX, i am working in Gannt chart ControlI need to change the colour of the bars in Gannt chart based upon the datatable value

    for example Datatable------------ ID | Flag1001 01002 01003 11004 01005 1

    now i need to show the bars color for ID "1001,1002,1004" as yellow and bar color for ID "1003,1005" as blue

    Can you anyone please help me to achieve the above

×
×
  • Create New...