Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why plot line is not visible (hidden, not displayed), but value shown in Databox ?

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

    Why plot line is not visible (hidden, not displayed), but value shown in Databox ?

    I am facing a problem: plot is being correctly calculated (correct value) also shown in databox for each bar (when mouseover), however the graph is empty:

    Click image for larger version

Name:	CH3mKgt.png
Views:	154
Size:	43.3 KB
ID:	1056889


    plot color is also ok... what could be the issue?

    #2
    Hello TazoTodua,

    Thanks for your post.

    Are you using OnRender() in your code and if so have you included base.OnRender() ?

    Comment


      #3
      many thanks. actually, i've seen that people use OnRender (without using base.OnRender) , and that shouldnt be a problem... However it was strange, i am now on different location and can't confirm if still happens...

      Comment


        #4
        Hello TazoTodua,

        Thanks for your reply.

        The OnRender() help guide offers this tip:

        "If you are using standard Plots along with custom rendering from an indicator or strategy, you will need to ensure to call the base.OnRender() method for those plots to display."

        Reference: https://ninjatrader.com/support/help.../?onrender.htm

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        57 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        78 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        41 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        101 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        61 views
        0 likes
        Last Post PaulMohn  
        Working...
        X