[CLOSED] "Sprite" texts are getting overlapped in Chart .

  1. #1

    [CLOSED] "Sprite" texts are getting overlapped in Chart .

    I have two different Sprite attribute given below

    MinText = new Sprite { Type = SpriteType.Text, Text = String.Format("Min:{0} {1:" + GetPriceFormat(Data.Select(r => r.PriceAdjusted)) + "}/{2} {3}", minRecord.CountryDescription, minRecord.PriceAdjusted, transformUnits, uom), X = 110, Y = 35, ZIndex = 1000, Font = "10px Arial", Fill = "#000", SpriteID = "lblMinText" };
    
     MaxText = new Sprite { Type = SpriteType.Text, Text = String.Format("Max:{0} {1:" + GetPriceFormat(Data.Select(r => r.PriceAdjusted)) + "}/{2} {3}", maxRecord.CountryDescription, maxRecord.PriceAdjusted, transformUnits, uom), X = 250, Y = 35, ZIndex = 1000, Font = "10px Arial", Fill = "#000", SpriteID = "lblMaxText" };
    
    Chart drawChart = new Chart
                {
                    ID = "ReportChart",
                    Animate = true,
                    Height = 600,
                    MinWidth = 300,
                    Width = 950,
                    MaxWidth = 1200,
                    Shadow = true,
                    Store = { this.CreateChartStore(mod) },
                    Axes = { this.ChartNumericAxis(), this.ChartCategoryAxis() },                 
                    Items = {  MinText, MaxText}
                };

    These two text are overlapping sometimes when text of first sprite is getting lengthier.What we can do so they should not overlap and should be side by side.
    Last edited by Daniil; Apr 15, 2014 at 11:20 PM. Reason: [CLOSED]
  2. #2
    Hi @PriceRightHTML5team,

    There is no functionality to avoid overlapping automatically.

    I think the only way to manage X and Y properties manually.

Similar Threads

  1. Replies: 6
    Last Post: May 31, 2013, 3:04 AM
  2. [CLOSED] How does "MaskCls" work for "AutoLoad" mask in panel control
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 19, 2012, 12:09 PM
  3. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  4. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM
  5. Replies: 2
    Last Post: Jun 26, 2011, 1:59 AM

Tags for this Thread

Posting Permissions