We help IT Professionals succeed at work.

CanvasJS Y Axis

projects
projects asked
on
436 Views
Last Modified: 2014-08-18
I have a programmer who is telling me something which doesn't seem to make sense so thought I would ask here.

He is putting together a graph which will shows events in the form of hh/mm/ss.
If he sets the Y axis to seconds, then minutes and hours hit the top of the graph.
If he sets the Y axis to minutes, then the seconds get smaller and hours still hit the top of the graph.
If he sets the Y axis to hours, then seconds barely show and unless there are enough minutes, they barely show either.

He tells me we have to make a decision on what to show but that seems to make no sense to me. Instead, I feel we should have a Y axis which is dynamic, adjusting as needed.

After I said this, he told he that we do have a dynamic Y axis yet keeps telling me that because of the data, we cannot get it all into one graph.

Makes no sense to me.

Also, is java supposed to be installed on the server in order to see graphs? And if so, what needs to be installed on a Centos 6.5 server to see them.

Thanks.
Comment
Watch Question

Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
Your assessment make sense.
I would suggest to Limit the y axis .. For example .. Top 10, 5 span median, or 10 span mean..
Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
Java is platform independent ..for the most part.

Author

Commented:
I have this working on both servers now so that is not part of the question anymore.

As for the Y axis, the problem is that seconds barely show while minutes and hours end up showing simply long bars which hit the top of the graph, very useless.

I do not understand your reply.
Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
Ok misunderstood.. Sorry.

In that case you could set the y axis to your max result + 10%.. So that the bar doesn't reach the top.

Otherwise, ..what you're dealing with is a large difference in the values you are trying to display.. therefore some bars would be barely visible while others are large... in this case I would recommend using a zoomable chart control..so you can zoom in and out, or implement a zoom function yourself.. which may be able to be accomplished by simply lowering the max of the Y axis to "zoom out" on your data.  Which charting control are you using?

Author

Commented:
In the test that we are using, it is a chart of time averages on various events. The events could be from a couple of seconds to hours in length.

He has the Y axis set to 1000 seconds so times which are a few seconds barely show while some which are much longer than 1000 seconds hit the top and hours of course simply show a solid line to the top.

It seems ridiculous to me that we cannot chart this properly, so that as one pans back and forth, that the Y axis should adjust itself accordingly.
Ron MalmsteadInformation Services Manager
CERTIFIED EXPERT

Commented:
Right which is why I suggest having the ability to zoom the y axis "maximum" dynamically from seconds to minutes..
Information Services Manager
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
>Right which is why I suggest having the ability to zoom the y axis "maximum"
>dynamically from seconds to minutes..

Can you expand on this a little so I can give feedback to the programmer. We ended up having to create seconds/minutes/hours options but that is rather useless when needing to see averages over time.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.