NetTalk Central

Author Topic: IG X-axis labels  (Read 3059 times)

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
IG X-axis labels
« on: February 10, 2014, 07:17:35 PM »
I have a simple graph on a NetWebForm and please excuse this being such a simple (dumb!) question.

The graph has two sets, Power number's and Torque numbers and each directly related to RPM.  Some pictures and details are in the attached document.

I can't get the numbers to be plotted in the right places on the graph or maybe the x-axis labels that I have are misplaced.  But see the doc for the details and my question.

Thanks for your help

Keith

[attachment deleted by admin]
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: IG X-axis labels
« Reply #1 on: February 10, 2014, 10:19:22 PM »
Hi Keith,

You need to fit what you want within the bounds of the graph type you are using.

a) Line graph has a dynamic Y axis, but a discrete X-Axis - the x-Axis contains "point numbers" which are integers starting from 1.

It seems to me you're setting the point number to be RMP/1000, so 1600 becomes 1.6 which is not an integer.

I would probably drop the x 1000 part, and just use the RPM value as the point-number "as is".

cheers
Bruce


Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: IG X-axis labels
« Reply #2 on: February 11, 2014, 12:42:08 AM »
Thanks Bruce, that helped a lot.  The graph looks much better.

Cheers

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
Re: IG X-axis labels
« Reply #3 on: February 12, 2014, 06:59:36 PM »
But, supplementary question:  isn't there a way to have the x-axis label unrelated to the points?  My current graph is shown in Power.png but the x labels are just the point numbers and therefore are not spread evenly across the axis.

I have included the same sort of graph (as Power2.png) which shows an even x-axis and the actual points not related to the labels.  This is what I want to achieve with IG.

Thanks

Keith

[attachment deleted by admin]
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: IG X-axis labels
« Reply #4 on: February 13, 2014, 06:01:01 AM »
set
thisgraph.DisplayTo = 7000
(where 7000 is the highest RPM value, rounded up to the next 1000)

cheers
Bruce