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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:19:17+00:00 2026-05-26T22:19:17+00:00

I have time-based data that ranges from 1 to 500. Time is plotted on

  • 0

I have time-based data that ranges from 1 to 500. Time is plotted on the x axis and the values are on the y axis.

When the range between the minimum and maximum data-points is great the y-axis’ start label is 0. I can tell Highcharts not to display the label by setting yAxis.startOnTick = false; but that’s is not really what I’m after.

Here is a jsfiddle of the problem where you cannot tell if the first point is 0 or some other value. Having 0 here also looks like the min range for y is
0, not 1.

Can Highcharts display the first label and the first label should always be set to the minimum value in the dataset (relative to its axis).

  • 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-05-26T22:19:17+00:00Added an answer on May 26, 2026 at 10:19 pm

    I am amazed how difficult this is. Not an optimal solution, but the best I can dream up with HighChart’s api:

    var someData = [1,5,82,9,300,5,42,199,5,6,99,1,56,52,250,64];
    
    var chart = new Highcharts.Chart({
    
        chart: {
            renderTo: 'container'
        },
        yAxis:{
            min: -10,
            tickInterval: 1,
            labels: {
                formatter: function() {
                    if (this.value < someData[0])
                        return null;
                    else if (this.value == someData[0])
                        return this.value;
                    else if (this.value % 50 == 0)
                        return this.value;
                }
            }
        },
        series: [{
            data: someData
        }]
    
    });
    

    enter image description here

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

Sidebar

Related Questions

I have a source base that, depending on defined flags at build time, creates
We have a large internal data collection website. I don't have time to create
How do I check for time for between. suppose I have Time in string
I have 2 time values which have the type datetime.time . I want to
i have a time dropdown that shows hour in one select, minutes in another
I have data that looks like the following: ID | Location | Attendees |
Problem I have timestamped data, which I need to search based on the timestamp
I have created a script that analyzes a set of raw data and converts
I have a DataMapper based SQLite database. I store the time at which the
I have a search program that will be looking at a database from a

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.