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

The Archive Base Latest Questions

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

I am currently working on displaying 2 lines of data on a XY linechart

  • 0

I am currently working on displaying 2 lines of data on a XY linechart using Google Charts. I have it nearly finished but I need to put labels on both the X and Y axis.
Along the vertical Y axis I want to replace the 0 to 100 with ‘Minutes’ and along the horizontal X axis I want to replace the 0 to 100 with ‘Hours’.

I have been messing around with the for ages and can’t figure it out just this tiny thing. Here is my current code at the moment. Can someone please save my brain from melting? Here is my code so you can view the chart, thanks.

<img src="http://chart.apis.google.com/chart
?chxr=0,0,24|1,0,60
&chxt=x,y,x,y
&chs=800x350
&cht=lxy
&chco=3072F3,FF0000
&chds=0,24,0,60,0,24,0,60
&chd=t:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23|20,30,40,20,30,40,20,30,40,20,30,40,20,30,40,20,30,40,20,30,40,20,30,40|
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23|5,10,22,35,5,10,22,35,5,10,22,35,5,10,22,35,5,10,22,35,5,10,22,35
&chdl=Active|Sedentary
&chls=2,4,1|1
&chma=5,5,5,25
&chtt=Physical+Activity+Chart" 
width="800" height="350" alt="Physical Activity Chart" />
  • 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-20T22:07:19+00:00Added an answer on May 20, 2026 at 10:07 pm

    Ok I figured it out almost straight away then, pain!
    Anyways, i had to add in this code and it worked then, assigning values to each axis label-

    &chxl=0:|0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|
    1:|0|5|10|15|20|25|30|35|40|45|50|55|60|
    2:|Hours|
    3:|Minutes
    &chxp=2,50|3,50
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a working gridview displaying some thumbnails. Currently, when you select an
I'm displaying 10 records per page. The variables I have currently that I'm working
I'm currently working on a website which is displaying users tweets from the twitter
I am currently working on a GWT project where I am displaying an HTML
Currently working with the following package structure: /package __init__.py final.py /write __init__.py write.py /data
I am currently working on an asp.net web page with a GridView displaying a
I am currently working with jquery and <a> tags. Right now I have been
I am currently working with padding in C#. I am displaying results inside a
I'm currently working my way through various Rails tutorials, but all seem to recommend
I have an issue with PHP files displaying information site. I'm working on 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.