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

  • SEARCH
  • Home
  • 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 8442899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:58:02+00:00 2026-06-10T08:58:02+00:00

I have a 100-frame animation in one div and a standard area highchart in

  • 0

I have a 100-frame animation in one div and a standard area highchart in another div, with 100 positions on the x-axis. On the chart I can display a vertical line that tracks mouseovers, using this code:

  tooltip: {
    shared: true,
    crosshairs: true
  }

I’d like to create the identical type of line but have its placement tied to the animation frame. That is, as the animation progresses, the line on the chart would move to the matching position (if the animation is on frame 33, the line would move to position 33 on the x-axis of the chart).

How can I make this happen?

I’d like to simply update the value of the plotLine rather than add/remove each time, but I don’t see an Axis.updatePlotLine or equivalent. If there is a way to do that, please let me know!

  • 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-10T08:58:04+00:00Added an answer on June 10, 2026 at 8:58 am

    I was able to make this work using plotLines (http://www.highcharts.com/ref/#xAxis-plotLines):

    function addPlotLine(ts) {
      chart.xAxis[0].addPlotLine({
        value: ts,
        color: 'rgb(255, 0, 0)',
        width: 1,
        id: 'tsline'
      });
    }
    
    function removePlotLine() {
      chart.xAxis[0].removePlotLine('tsline');
    }
    
    function doAnimation(ts) {
      // animation code here
      removePlotLine();
      addPlotLine(ts);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data frame that's about ts1[100, 2000] in dimension as follows: >
I have imageView with some frame imageView.frame = CGRectMake(0,0, 100, 100); imageView.contentMode = UIViewContentModeScaleAspectFit;
I have the following dataframe: sp <- combn(c(sp1,sp2,sp3,sp4),2) d <- data.frame(t(sp),freq=sample(0:100,6)) and two factors
I have 100 inputs with the name table[] . How can I get their
I have 100 threads. I want to run 10 thread before 10 another threads
I have a animation consisting of 100 images. I want to be able to
I have a JButton array and generate 100 buttons with for(i=0;i<button.length;i++) but can't figure
I have a data frame with 30 rows and 100 columns (X). I would
I am drawing a frame by frame animation to a canvas and I have
I have 100 text files which contains time series starting and ending at different

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.