05-07-2014 07:38 AM
Hello all!
I'm trying to display meteorological measurements throughout a day in a minute resolution. For that purpose I'm using a Waveform Chart with fixed length on x-axis (0-1440). However, major ticks are distributed by 100, i.e. 0, 100, 200, 300, ..., 1400, 1440. How can I distribute these points by 60, so that I can put hour labels 00:00, 01:00, 02:00 etc.
Thanks!
Regards,
Marko.
Solved! Go to Solution.
05-07-2014 10:43 AM
You should be able to click on the label for 100 (this first to the right of the 0) and just change it to 60.
05-08-2014 11:05 AM - edited 05-08-2014 11:12 AM
You can use a Property Node to set the Increment property of the graph.
To create the property node on the Block Diagram: right-click on the graph, select Create >> Property Node >> X Scale >> Range >> Increment. Place the Property Node on the block diagram. Right-click on the Property Node, select Change to Write. Then you can wire a numeric constant of '60' into the Property Node.
Note: the the graph must be wide enough to support the number of tick marks. Otherwise the property node will change nothing.
05-11-2014 03:31 AM
Thanks guys, this works!
Marko.
06-29-2015 03:38 AM
I am not able to understand this because i have also used the increment for this but i am not getting the same result
06-29-2015 12:24 PM
@pranjalgarg wrote:
I am not able to understand this because i have also used the increment for this but i am not getting the same result
In what way is the result different? Please attach your VI so we can see what is going on.
06-29-2015 12:45 PM
Did you notice: "Note: the the graph must be wide enough to support the number of tick marks. Otherwise the property node will change nothing."
If the size of your graph is too small to display the increment, then it uses the default increment. This is also explained here: KnowledgeBase: Unable to Change XY Graph Axis Increment to a Fractional Value.
If this is the issue, then manually resizing the graph should fix it.
If this is not the issue you are seeing, then I agree that you should attach your VI.
07-02-2015 12:09 AM
i want to change the x axis as it should appear like 2:20 2:40 in this manner for the 24 hours how can i do it
07-02-2015 03:11 AM
This can be done in Graph Properties under display format
Ken
07-03-2015 12:05 AM
BUt i want that major tick should have 20 minutes gap my data should display like 8:00 8:20 8:40 9:00 for 24 hours how can i do that and moreover the graph or chart should be moving