Jump to content
Software FX Community

Ruby

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Ruby

  1. I have a bar chart which has 4 series. Out of this I need to address 2 series with Legend. The remaining 2 series should not have legend. So i am using UserLegendBox to show the 2 series names. Now the problem is, if i hover the item in user legend box, i need to highlight the relevant series. I have used the below code that doesnt work.

    void chart1_Highlighted(object sender, SoftwareFX.ChartFX.Base.HighlightEventArgs e)

    {

    if (sender is SoftwareFX.ChartFX.UserLegendBox)

    {

    chart1.Highlight.HighlightItem(

    this, new SoftwareFX.ChartFX.Base.HighlightEventArgs(SoftwareFX.ChartFX.Base.HighlightModes.Series, e.Series, e.Point));

    }

    }

     

    e.Series, e.Point values are always 0. Why?

×
×
  • Create New...