title: Using a custom variable in livecharts
body: <p>I am using the LiveCharts package in a .NET framework 4.7.2 C# form. I am trying to get data from a database into a chart, but have found that LiveCharts isn't very fond of me trying to use my own variables. I have not yet found a way to link these two with eachother.</p>
  <pre><code>new StackedColumnSeries
                  {
                      Values = new ChartValues&lt;double&gt; {5},
                      StackMode = StackMode.Values, 
                      DataLabels = true,
                      Fill = Brushes.DodgerBlue
  
                  },
                  new StackedColumnSeries
                  {
                      Values = new ChartValues&lt;double&gt; {3},
                      StackMode = StackMode.Values,
                      DataLabels = true,
                      Fill = Brushes.LawnGreen
                  },
  
                  new StackedColumnSeries
              {
                  Values = new ChartValues&lt;double&gt; {1},
                  StackMode = StackMode.Values,
                  DataLabels = true,
                  Fill = Brushes.DimGray
              },
  
                  new StackedColumnSeries
              {
                  Values = new ChartValues&lt;double&gt; {1},
                  StackMode = StackMode.Values,
                  DataLabels = true,
                  Fill = Brushes.IndianRed
              }
              };
  </code></pre>
  <p>I want to change the {5}, {3}, ... into a custom variable, let's say &quot;VarDataSize&quot;. Is this possible?
  I am pretty new to Visual Studio 2019, so I would appreciate a lot of explanation. If I am missing any necessary information I'll gladly add it.</p>