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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:35:12+00:00 2026-06-06T14:35:12+00:00

I am using the the Joe’s Design’s Raphael JS tutorial to build some overlaid

  • 0

I am using the the Joe’s Design’s Raphael JS tutorial to build some overlaid graphs

I used the code to create 3 graphs that displays 3 types of info overlaid on each other but I have one issue that I cant’t figure is why it hits the top for 200k and 50k at the same spot it doesn’t make sense ? I am trying to figure out how to make the size of the graph work so all the measurements are relative to each other but it doesn’t seem to work ? Can any one provide some insight as to why this would happen?

It seems that each line is relative to itself rather than each other

I can provide any code that would help

Here’s the js file

http://pastebin.com/NJj3whxZ

Also here’s a link to my working example

http://theconfluencegroup.com/a_test/

thanks a million

Nick

  • 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-06T14:35:13+00:00Added an answer on June 6, 2026 at 2:35 pm

    Slightly modifying the library http://g.raphaeljs.com/linechart.html
    allowed the max to be a setting:

    var element = this,
                o = this.customAttributes.lineChart,
                settings = this.lineChart.settings,
                gutter = settings.gutter,
                width = settings.width,
                height = settings.height,
    /*AeTky added: 2012.06.16*/             
                fixMax = settings.fixMax,
    /**/                
                table = helpers.loadTableData(settings.data_holder), //TODO allow passing data by array
                size = table.labels.length,
    
                X = (width - gutter.left) / size,
    /*AeTky added: 2012.06.16*/             
                max = fixMax == -1 ? Math.max.apply(Math, table.data) : fixMax,
    /**/                
                Y = (height - gutter.bottom - gutter.top) / max,
    
                blanket = element.set(),
                p,
                bgpp,
                x,
                y;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background We've been using some code copied verbatim from Joe Duffy's Concurrent Programming on
I am using this code from http://www.joe-stevens.com/2010/01/04/using-jquery-to-make-ajax-calls-to-an-asmx-web-service-using-asp-net/ function callWebService(address) { var result; $(#result).addClass(loading); $.ajax({
I am retrieving JSON using jQuery's getJSON call. My problem is that some of
Joe Duffy states in the MSDN article Using concurrency for scalability that the cost
I am using this code to insert some values in MySql table: <?php mysql_connect(localhost,root,root);
I am using BindingSource and I want to use some SQL code to perform
I am using the three20 open source project by Joe Hewitt. have the following
I am using JSON.parse to parse this JSON string [{created_at:2012-01-24T22:36:21Z,name:joe,age:42,updated_at:2012-01-24T22:36:21Z}] However I am simply
I am using SQL Server 2008. I have a query that pulls two random
Using the json module in python 2.6, I'm experiencing some unexpected behavior when passing

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.