06-09-2016 10:03 AM - edited 06-09-2016 10:04 AM
Hello,
Is it possible to remove the min and max labels on graph axis markers? E.g. see the screenshot below. Can I remove the numbers circled in green without changing the range of the axis? In some cases (such as this one), the presence of the min and max numbers causes other marker values to not be displayed (red line). I am aware that the "10" will be displayed if I make the graph bigger, but that is not an option for my application. FYI - the screenshot is of the front panel of the attached VI.
Thanks for any help,
Regards,
Stu
Solved! Go to Solution.
06-09-2016 10:19 AM
HI Orbital,
Why don't you just change the police size? You can do it dynamically using property node.
I made you a VI.
06-09-2016 10:22 AM
You can't remove them because they are key features to be able to set the max and min scale of the graph from the front panel if you aren't using auto-scaling.
06-09-2016 10:24 AM
Hi Sabri,
Thanks for your reply. Unfortunately changing sizes (of the whole graph, or of the marker text size) is not an option for my application.
I am really looking to set to the axis range (e.g. -5 to +15) completely independently of the marker values (e.g. 0 and 10). I cannot do this currently because I'm not sure how I can remove the min and max marker text.
Regards,
Stu
06-09-2016 10:27 AM
@RavensFan wrote:You can't remove them because they are key features to be able to set the max and min scale of the graph from the front panel if you aren't using auto-scaling.
Ah. So it's not possible... that's unfortunate.
Setting axis range and axis markers independently is possible in graphing software. That's a bit of a limitation if it can't be done in LabVIEW.
06-09-2016 10:37 AM
Hi Orbital,
If this is a requirement then you can create a custom control from your graph and insert object to hide the min and max.
I just did it for the max.
But it could hide other marker if there too close.
Regards
06-09-2016 10:43 AM
Hi Sabri,
Thanks for the idea. I think that would work to hide the min/max labels. Unfortunately I don't think it works for the graph in my first post, because my desired marker (at "10") won't show up either, which is due to the max marker at "15" being too close. LabVIEW decides that there isn't enough space to draw the 10.
Regards,
Stu
06-09-2016 10:49 AM - edited 06-09-2016 10:49 AM
While we are discussing this, please vote for my idea here. Thanks!
06-09-2016 10:55 AM - edited 06-09-2016 10:57 AM
@altenbach wrote:While we are discussing this, please vote for my idea here. Thanks!
Done! Hopefully some others who see this will vote too.
(Good idea about temporary edge markers for manually entering values too)