Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Which Properties Are Used to Change the Color of the Common Plot Types?

Primary Software: LabVIEW Development Systems>>LabVIEW Base Package
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
Which properties are used to change the the color of the common plot types when using a Waveform Chart or Waveform Graph in LabVIEW?

Solution:
The below picture numbers the different types of common plots:



The numbers below correlate to the above picture.
  1. For the simple line plot, the Plot.Color property can be used to change the color.  This property can be found by using the Waveform Chart or Waveform Graph Property Node and going to Plot»Plot Color.
  2. For the empty square plot, the Plot.Fill/Point Color property can be used to change the color.  This property can be found by using the Waveform Chart or Waveform Graph Property Node and going to Plot»Fill/Point Color.
  3. For the empty square with line plot, both the Plot.Fill/Point Color property and Plot.Color property can be used to change the color.  The Plot.Fill/Point Color property will change the color of the empty squares, while the Plot.Color property will change the color of the line.
  4. For the filled line plot, both the Plot.Fill/Point Color property and Plot.Color property can be used to change the color.  The Plot.Fill/Point Color property will change the color of the filled portion, while the Plot.Color property will change the color of the line.
  5. This plot uses the same Plot.Fill/Point Color property to change the fill color. 
  6. This plot also uses the Plot.Fill/Point Color property.


Related Links:
KnowledgeBase 2F8BEPTJ: Can the Plot Representation of the XY Graph in LabVIEW be Changed Programmatically?
KnowledgeBase 3H5B4KPH: How Can I Programmatically Change the Plot Colors of Multiple Lines on a Single Graph or Chart?


Attachments:





Report Date: 06/21/2009
Last Updated: 11/19/2009
Document ID: 4YKFT6Q6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit