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 8560751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:20:55+00:00 2026-06-11T16:20:55+00:00

I was reading a bit about the high charts addPoint() function here: http://api.highcharts.com/highcharts#Series.addPoint ()

  • 0

I was reading a bit about the high charts addPoint() function here:

http://api.highcharts.com/highcharts#Series.addPoint()

I’m quite taken the idea of creating a chart like this one:

http://www.highcharts.com/demo/dynamic-click-to-add

…but where I have a fixed x and y scale, and where the user can only place a point on the scale in multiple of 5.. such as a point at x=10 and y=20…

Has this been attempted, and/or is it feasible given the options provided in the API?

Thanks

  • 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-11T16:20:56+00:00Added an answer on June 11, 2026 at 4:20 pm

    You can modify this behavior in your click handler – you get the exact click values there, and you can simply round it to the next interval you like:

                events: {
                    click: function(e) {
                        // find the clicked values and the series
                        var x = e.xAxis[0].value,
                            y = e.yAxis[0].value,
                            series = this.series[0];
    
                        // round given click point to intervals
                        x = Math.ceil(x / 5) * 5;
                        y = Math.ceil(y / 5) * 5;
    
                        // Add it
                        series.addPoint([x, y]);
    
                    }
                }
    

    The Demo of this example will give you a starting point.

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

Sidebar

Related Questions

So I've been reading quite a bit about Unicoding tonight because I was thinking
I was just reading a little bit on them from http://www.cplusplus.com/doc/tutorial/namespaces/ and it seems
I've been reading quite a bit about Thrift and it looks like a technology
After reading quite few articles on deployment, i am bit confused about the procedure.
After reading a bit more about how Gnutella and other P2P networks function, I
even after reading quite a bit about the strict-aliasing rules I am still confused.
I'm reading a little bit about the eBay API, but I can't find anything
general questions Now I've been reading quite a bit about smart pointers, and shared
Re-reading a bit about php basics, as to refresh some things and to be
Im skinning a progressBar in Flex, and after reading a bit about it, I

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.