Jump to content
Software FX Community

X-Axis scale does not start at the left border


Nils
 Share

Recommended Posts

Hello,

We are developing a softwareproduct that calculates different scores. To show them in a graphical device we use ChartFX 7.

Now we have the following problem.

/forums/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABXUAAABjCAIAAABbvnQvAAAO1klEQVR4nO3d625U5cIH8PXJC/BWvIKdft23sK9gp5cgGJSDAhoKRA4iGEJEpShSOSiNKcRMwcqpFns+2U7nRFlkx8TXxPT9MNM5tEMLTmfWsJ7fL/9EgXZYqw8z86z/etaaKI7j58+fP3/+PI7jZ8+era6urq6ulkqlfD6fz+eLxeKzZ8+eAwAAAOEplUrZbHZ2dnZ8fHxiYmJiYmJycnJ6enpubm5xcTGbzeZyuWKx+PTp06j8DeVy4dmzZ0+fPi0Wi4VCob5WiAEAAIAgleuCfD7/5MmTR48ejY6O/vrrr+Pj45OTk/Pz88vLy7lcrlQqRRvKhUKhUCqVNAsAAABAWbU0mJycHB4evnfv3oMHD0ZHRycmJmZnZ5eWlnK5XFT90nK5kOwWAwAAAF1uaGjop59+unfv3sOHD8fHx+fm5paXl6N4/bYLxWKxVColvZEAAABAV3v06NH333/448/ZjKZBw8ejI+Pz8/PR+VFDqVSqVAouCACAAAA2NrKysrg4OD169cHBwczmczDhw8nJyej8pUR+Xy+fEPHpDcSAAAA6Gq5XG5qaqq/v/+7774bHBy8e/fu2NhYVL4yorx4Qb8AAN1u7K+3Tq7VcuOPbb/jSebv/2T+F8dxHP+x++TaWyfXdo/t7Da142HbtKkAwA7I5/NLS0vXr1/6quvrl27NjQ0dP/+/Wh1dbVQKBSLReUCAHS5H26sNZQLlfz96eI236JfAAB2UD6fz2azmUzm/Pnz/f39N2/eHB4ejkqlUi6Xc3EEAHS5J5m/39p4yF05CH/riz+fvOC79AsAwI4rFArZbHZ8fPyTTz75/PPPBwYGbt++HRWLxWw26+IIAOhulePt9aZg4+/vHqv7/xt/vWCZQ+2La0shNlxhsfjnf2rf8tcPG7ai/uqM2jdu/7DV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b77S9RYAwGtHvwAAVG24/0LvQBw37xfWq4K6xqFvtH4VQ3X9Qt23W9MAACmmXwAAqprdcaH5+oVKT1DXOFQLiTiOa13ChsbiZW/oAAC8bvQLAEBVC/1CT99o5YKKOI4b+gVrFgAgBPoFAKCqWb9Qu6phoDfasl+o/5P66yPWH7O+fwAAUka/AABUNf1Eyur9GXt7t16/UPmNqO7CiN4B93cEgDDoFwAAAIBWvbBfmJ+fz2azSW8eAAAA8Boor1S4du3a3r17Dx8+fObMmW+++SZaWVmZn5+fnZ1NevMAAACA18Dvv/8+NTV16tSpffv2HTly5Ny5c1evXo1yudzCwsLExESpVEp6CwEAAIBuNzc3NzIysnv37gMHDhw7duzChQs3btyI8vl8uXiYmJhIegsBAACAbjc1NXX06NE9e/YcPHjwxIkTX3755Q8/BAVCoWlpaWZmZmxsTFXSQAAAABb6+/v37VrV/niiLNnz165cuX27dtRsVjMZrNzc3O/fbbL7/8kvRGAgAAAF3t7bff3rNnz6FDh06cOHHx4sUbN24MDw9HpVJpZWVlcXFxcnLy0aNHmUzmyZMnpUYFAAAAIDy5XG5lZWVpaWl+fn5qaqq/v79cLrz/vvHjx8/f/78lStXhoaGHjx4ED19+jSfzy8vL5cvkRgZGRkaGrp9+/bCwkJ+XRYAAAAIz8LCwtzc3PT09MjIyNGjR3ft2lUuF44dO3b27NnLly/funXr7t27Y2Nj0erqaqFQWFlZKX+KxOPHjzOZzODg4Lfffnvr1q2ff/55ampqFgAAAAjP/fv3r1+/fvr06Xfeeefdd9/dv3/oUOHjh8/fu7cuUuXLt28eTOTyTx+/Hh6evr/ATJ42XD28Yb3AAAAAElFTkSuQmCC In the attachment you can see our ChartFX control. It is used for several types of calculations, so this is only an example but the problem is the same in all cases. You can see that the graphic has different sections with different colors defined. At the left boundary there is a white area that should not be there. In this case the scale of the X-axis should also start exactly with 4 and end exactly with 20. As you can see, the value 20 is not displayed at the right hand of the graphic. The properties max and min of the AxisX are set to 20 respectively 4.

The question is, if there is any property or method that forces the ChartFX control to start the scale exactly at a given value and does not let a left margin?

I hope someone can help me to solve this problem.

Best regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...