Click here to Skip to main content
15,884,943 members
Articles / Desktop Programming / WPF

OpenWPFChart: assembling charts from components: Part I - Parts

Rate me:
Please Sign up or sign in to vote.
4.29/5 (17 votes)
19 Mar 2009CPOL14 min read 81.7K   4K   81  
Provides the component model along with base components to assemble charts.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
    </configSections>

  <system.diagnostics>
    <sources>
      <source name="System.Windows.Data" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>
      <source name="System.Windows.DependencyProperty" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>
      <source name="System.Windows.Freezable" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>
      <!--<source name="System.Windows.RoutedEvent" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>-->
      <!--<source name="System.Windows.Media.Animation" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>-->
      <!--<source name="System.Windows.NameScope" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>-->
      <!--<source name="System.Windows.ResourceDictionary" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>-->
      <!--<source name="System.Windows.Markup" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>-->
      <!--<source name="System.Windows.Documents" switchName="SourceSwitch" >
        <listeners>
          <add name="textListener" />
        </listeners>
      </source>-->
    </sources>

    <switches>
      <!--add name="SourceSwitch" value="Off" -->
      <add name="SourceSwitch" value="Verbose" />
      <!--<add name="SourceSwitch" value="Information" />-->
      <!--add name="SourceSwitch" value="Verbose" -->
      <!--add name="SourceSwitch" value="Warning" -->
      <!--add name="SourceSwitch" value="Error" -->
      <!--add name="SourceSwitch" value="Activity" -->
      <!--<add name="SourceSwitch" value="All" />-->
    </switches>

    <sharedListeners>
      <!-- This listener sends output to the console -->
      <add name="console" type="System.Diagnostics.ConsoleTraceListener" initializeData="false"/>
      <!-- This listener sends output to an Xml file named CurveChartSampleTrace.xml -->
      <add name="xmlListener" type="System.Diagnostics.XmlWriterTraceListener"
           traceOutputOptions="None" initializeData="CurveChartSampleTrace.xml" />
      <!-- This listener sends output to a file named CurveChartSampleTrace.txt -->
      <add name="textListener" type="System.Diagnostics.TextWriterTraceListener"
           initializeData="CurveChartSampleTrace.txt" />
    </sharedListeners>
    <trace autoflush="true" indentsize="4"></trace>
  </system.diagnostics>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions