Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to plot override without bar data visible

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to plot override without bar data visible

    Hi there,

    I know that plot override is not supported here however this is a question that pertains to other coding situations as well. I'm sure someone can point me in the right direction

    Basically as you can see by the image attached I have plotted today's and yesterday's bars to the right of the chart. I do not want the primary data series (Daily bars) visible (the white bars on the left). When I set the primary data series (Daily bars) to Color.Transparent OR I scroll the Daily bars off the chart, my custom plots disappear and my scaling disappears, as you can see by the image.

    I'm using:

    Code:
    ChartControl.GetYByValue(this, price);
    as suggested by koganam here

    I "sort of" understand why this is happening, but how to prevent it? Do I need to add an "invisible" High or Low plot set to AutoScale = True and THEN set the data series bars to Color.Transparent?

    Any tips in the right direction would be just great. Thank you!

    Simon
    Attached Files

    #2
    Hi Simon, a transparent plot will have special handling so will likely not help here. I think you could set a dummy plot to the chart's background color (so it would not be visible) and have autoscale enabled for it? That way you should retain your scale.

    Comment


      #3
      Okay, thanks Bertrand. That makes sense.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      581 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      338 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X