Home Forums WinForms controls Xceed Chart for WinForms How to let a bubble shows up with correct size if there is only one size bubble in the series?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #19014 |

    I set my BubbleSeries MinSize to 2.0f and MaxSize to 2.5f, then add a bubble with size 2.0, but it shows up with a bigger size 2.5 if it is the only one bubble in the series. If there are different size bubbles in the series, all of them show up with proper size. How to let the bubble shows up with correct size if there is only one-size bubbles in the series? 

    Here is my code:

    BubbleSeries m_Bubble = (BubbleSeries)mainChart.Series.Add(SeriesType.Bubble);
     
    m_Bubble.Appearance.FillMode = AppearanceFillMode.DataPoints;
    m_Bubble.DataLabels.Mode = DataLabelsMode.None;
    m_Bubble.Legend.Format = “<label> X:<xvalue> Y:<value> Size:<size>”;
    m_Bubble.Legend.Mode = SeriesLegendMode.DataPoints;
    m_Bubble.MinSize = 2.0f;
    m_Bubble.MaxSize = 2.5f;
    m_Bubble.UseXValues = true;
    m_Bubble.BubbleStyle = PointStyle.DiagonalCross;
    m_Bubble.Shadow.Type = ShadowType.None;
    m_Bubble.UseXValues = true;
    m_Bubble.BubbleBorder.Color = descriptor.LineColor;
    m_Bubble.BubbleBorder.Width = 2;
    m_Bubble.Name = “anyName”;

    FillEffect fillEffect = new FillEffect(Color.LightBlue);
    m_Bubble.AddBubble(yValue, xValue, 2.0f, sb.ToString(), fillEffect, null);

    Thanks,
    Jerry

    Imported from legacy forums. Posted by Jerry (had 3210 views)

    User (Old forums)
    Member
    Post count: 23064

    This is a bug, and has been logged into our DB, though it is not possible right now to provide a time frame as to when this could be fixed.

    Imported from legacy forums. Posted by André (had 259 views)

    User (Old forums)
    Member
    Post count: 23064

    Ok, I see. Thank you for the info. 

    Imported from legacy forums. Posted by Jerry (had 3342 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.