Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

KDChart::LineAttributes Class Reference

#include <KDChartLineAttributes.h>

List of all members.

Public Types

enum  MissingValuesPolicy {
  MissingValuesAreBridged,
  MissingValuesHideSegments,
  MissingValuesShownAsZero,
  MissingValuesPolicyIgnored
}
 MissingValuesPolicy specifies how a missing value will be shown in a line diagram. More...


Public Member Functions

bool displayArea () const
 LineAttributes (const LineAttributes &)
 LineAttributes ()
MissingValuesPolicy missingValuesPolicy () const
bool operator!= (const LineAttributes &other) const
LineAttributesoperator= (const LineAttributes &)
bool operator== (const LineAttributes &) const
void setDisplayArea (bool display)
void setMissingValuesPolicy (MissingValuesPolicy policy)
void setTransparency (uint alpha)
uint transparency () const
 ~LineAttributes ()


Member Enumeration Documentation

enum KDChart::LineAttributes::MissingValuesPolicy
 

MissingValuesPolicy specifies how a missing value will be shown in a line diagram.

Missing value is assumed if the data cell contains a QVariant that can not be interpreted as a double, or if the data cell is hidden while its dataset is not hidden.

  • MissingValuesAreBridged the default: No markers will be shown for missing values but the line will be bridged if there is at least one valid cell before and after the missing value(s), otherwise the segment will be hidden.
  • MissingValuesHideSegments Line segments starting with a missing value will not be shown, and no markers will be shown for missing values, so this will look like a piece of the line is missing.
  • MissingValuesShownAsZero Missing value(s) will be treated like normal zero values, and markers will shown for them too, so there will be no visible difference between a zero value and a missing value.
  • MissingValuesPolicyIgnored (internal value, do not use)
Enumeration values:
MissingValuesAreBridged 
MissingValuesHideSegments 
MissingValuesShownAsZero 
MissingValuesPolicyIgnored 

Definition at line 55 of file KDChartLineAttributes.h.


Constructor & Destructor Documentation

KDChart::LineAttributes::LineAttributes  ) 
 

KDChart::LineAttributes::LineAttributes const LineAttributes  ) 
 

KDChart::LineAttributes::~LineAttributes  ) 
 


Member Function Documentation

bool KDChart::LineAttributes::displayArea  )  const
 

Referenced by operator<<(), and KDChart::LineDiagram::paint().

MissingValuesPolicy KDChart::LineAttributes::missingValuesPolicy  )  const
 

Referenced by KDChart::LineDiagram::getCellValues().

bool KDChart::LineAttributes::operator!= const LineAttributes other  )  const
 

Definition at line 79 of file KDChartLineAttributes.h.

00079 { return !operator==(other); }

LineAttributes& KDChart::LineAttributes::operator= const LineAttributes  ) 
 

bool KDChart::LineAttributes::operator== const LineAttributes  )  const
 

void KDChart::LineAttributes::setDisplayArea bool  display  ) 
 

void KDChart::LineAttributes::setMissingValuesPolicy MissingValuesPolicy  policy  ) 
 

void KDChart::LineAttributes::setTransparency uint  alpha  ) 
 

uint KDChart::LineAttributes::transparency  )  const
 

Referenced by operator<<(), and KDChart::LineDiagram::paint().


The documentation for this class was generated from the following file:
Generated on Thu May 10 11:06:33 2007 for KD Chart 2 by doxygen 1.3.6