Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8079167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:01:15+00:00 2026-06-05T16:01:15+00:00

the following plotLine object on the xAxis is adding lines to both panes how

  • 0

the following plotLine object on the xAxis is adding lines to both panes
how can i make this code add a line just to the first pane ? without affecting the rest of the panes
and also same thing to the plotBands
Thanks

here is the code

           xAxis: {

              plotLines: [{
              value: 1180656000000,
                  color: 'green',
                  dashStyle: 'shortdash',
                  width: 2,
                  label: {
                      text: 'prerinse'
                  }
              }, {
                  value: 1256227606000,
                  color: 'red',
                  dashStyle: 'shortdash',
                  width: 2,
                  label: {
                      text: 'postrinse'
                  }
              }]

              },




                  yAxis: [{
                      title: {
                          text: 'OHLC',
                      },

                      height: 200,
                      lineWidth: 2
                  }, {
                      title: {
                          text: 'Volume'
                      },
                      top: 300,
                      height: 100,
                      plotLines: [{value:500}],
                      offset: 0,
                      lineWidth: 2
                  }],

                      series: [{
                          type: 'candlestick',
                          name: 'AAPL',
                          data: ohlc,
                          dataGrouping: {
                              units: groupingUnits
                          }
                      }, {
                          type: 'column',
                          name: 'Volume',
                          data: volume,
                          yAxis: 1,
                          dataGrouping: {
                              units: groupingUnits
                          }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:01:16+00:00Added an answer on June 5, 2026 at 4:01 pm
    series: [{
    type: 'candlestick',
    name: 'AAPL',
    data: ohlc,
    dataGrouping: {
    units: groupingUnits
    }
    }, 
    {
    type: 'column',
    name: 'newline',
    data: newdata,
    yAxis: 1, <-This
    dataGrouping: {
    units: groupingUnits
    },
    
    {
    type: 'column',
    name: 'Volume',
    data: volume,
    yAxis: 1,
    dataGrouping: {
    units: groupingUnits
    }
    

    This adds second pane to y axis. If you change pointed line in code to “xAxis: 0”, then new pane will be added to x axis.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make the following stacked bar plot together with line curve. But
Following on from this question: Can't I use JQuery inside my FancyZoom popup? The
Following is a static struct in C++. How can this be represented in java.
Following on from this question I am using the code provided in one of
Following on from this question I asked yesterday: Can I shorten this regular expression?
Following this other question on how to make parametrized sql query on classic asp
Following leads in this thread and others, I've set up a code block where
Following on from this question , I am interested in finding out how you
Following Uncle Bob's avice in Clean Code , I'd like to have no SQL
following on from this question (Developing to an interface with TDD), I'm still having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.