Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding button to a chart panel rather than to chart controls

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

    Adding button to a chart panel rather than to chart controls

    Hello! Can you please advise on how can I add a button directly on a chart panel rather than on chart control panel?

    #2
    Hello,

    Thank you for the post.

    For nt7 there is really no documentation surrounding these concepts, but I can provide some links which can assist.

    The first would be to use the toolbar rather than the chart trader:


    The second would be to add a new panel to the chart, there is an example attached called UnsupportedAddFormPanelToChart_NT7, as the name suggests using these type of items in nt7 are unsupported and undocumented. This is mainly just using C# to modify the existing windows forms window and controls in that window.

    I look forward to being of further assistance.
    Attached Files

    Comment


      #3
      Hello Jesse! Thank you for your reply. I am familiar with the attached code and it adds a button (or a panel) to controls group of the currently opened chart window. So if I were to add several data series within one chart window these would have shared a panel created by one of them. Is there a way to create a button directly on the chart panel like on the attached screenshot (it is from NT8)?
      Attached Files

      Comment


        #4
        Hello,

        Thank you for the reply.

        I am unaware of a way to layer controls in this way in windows forms. You could review windows forms information online to see if this type of layering is possible in winforms at all but this would be outside of the scope that I could assist with for NT7.

        I am only aware of being able to append items into the controls collection and have them dock in a position relative to other controls. in NT8 the UserControlCollection is what you are asking for which is an extra layer that is added which allows for controls to be added over a chart. You could try experimenting with making a layer like this in 7, but then you have to worry about passing clicks to the chart control and so on.


        I look forward to being of further assistance.

        Comment


          #5
          Hello Jesse! OK, thank you for your assistance!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          576 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          334 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          553 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          551 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X