Skip to content

Hide Tooltip on Scroll bar

New Discussion
Ravi
Ravi asked on Nov 21, 2008 9:45 AM

Hi, I have a composite chart which contains 2 scatter charts.Tooltip for the chart is assigned by using the below code.ChartCtrl.Tooltips.FormatString = “<ITEM_LABEL> – (<DATA_VALUE_X:0.00> , <DATA_VALUE_Y:0.00>)”;Also scrol bars for the Chart has been enabled by the following codeaxisX.ScrollScale.Visible = true;axisX.ScrollScale.Scale = 1; axisX.ScrollScale.Scroll = 0;I need to fix the below problems.1. When I move the mouse on the scroll bar I get the last tooltip text shown on the chart. I need to supress the tooltip text on the scroll bar.2. When the chart is zoomed using the scroll bar, I need to navigate using the scroll bar itself rather than clicking on the 2 arrows located on the extremes.Infragistics Version 7.2Thanks in advance 

 

Sign In to post a reply

Replies

  • 0
    Teodor Taushanov
    Teodor Taushanov answered on Nov 18, 2008 8:43 AM

    The issues that you want are available since version 8.2.

    • 0
      Ravi
      Ravi answered on Nov 20, 2008 2:14 AM

      Thanks Taushanov,

       That worked when I upgraded the version to 8.2.

       Now I have a different problem. I was controlling the display of points thru my code. Here it is.

      CL1.Series.Add(Series1);

      ChartCtrl.CompositeChart.Series.Add(Series1);

      Series1.PEs.Add(new PaintElement(Color.DarkBlue));

      ((

      ScatterChartAppearance)CL1.ChartTypeAppearance).Icon = SymbolIcon.Character;((ScatterChartAppearance)CL1.ChartTypeAppearance).Character = '*';

      ((

      ScatterChartAppearance)CL1.ChartTypeAppearance).CharacterFont = new Font("Tahoma", 8, FontStyle.Regular , GraphicsUnit.Point);

       

      But even since I upgraded these settings does not apply. What could be the reason ?

       Now I get the datapoints displayed in Green rather than dark blue as it was prior to the upgrade.

       

      Thanks.

      • 0
        Teodor Taushanov
        Teodor Taushanov answered on Nov 21, 2008 9:45 AM

        I tried this:

        XYSeries series = new XYSeries();

        series.Points.Add(

        new XYDataPoint(2, 3, "A", false));series.Points.Add(new XYDataPoint(6, 8, "B", false));

        series.PEs.Add(

        new PaintElement(Color.DarkBlue));this.ultraChart1.CompositeChart.Series.Add(series);ChartLayerAppearance app = this.ultraChart1.CompositeChart.ChartLayers[0];

        app.Series.Add(series);

        ScatterChartAppearance scatterApp = app.ChartTypeAppearance as ScatterChartAppearance;scatterApp.Icon = SymbolIcon.Character;

        scatterApp.Character =

        '*';

        scatterApp.CharacterFont =

        new Font("Tahoma", 28, FontStyle.Regular, GraphicsUnit.Point);

        and this works ok.

        Could you send us and the rest of your code?

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Ravi
Favorites
0
Replies
3
Created On
Nov 21, 2008
Last Post
17 years, 9 months ago

Suggested Discussions

Created by

Created on

Nov 21, 2008 9:45 AM

Last activity on

Feb 18, 2026 2:28 PM