c#OxyPlot为曲线下的图形着色

问题描述

在OxyPlot中是否可以为曲线下的图形着色? 如果是,那又如何?就像这样

enter image description here

这是我的消息来源:

PlotView myPlot = new PlotView();
// Create Plotmodel object          
var myModel = new PlotModel { Title = string.Format("{0}\n\r∫f(x) = ({1}x^3) + ({2}x^2) + ({3}x) + ({4}) = {5} \n\r{6} ",horniMez,koeficienty[3],koeficienty[2],koeficienty[1],koeficienty[0],integral,dolniMez )};
           
myModel.Series.Add(new FunctionSeries(x=>koeficienty[3]*x*x*x+koeficienty[2]*x*x+koeficienty[1]*x+ koeficienty[0],dolniMez,0.1,string.Format( "Funkce: ({0}x^3) + ({1}x^2) + ({2}x) + ({3})",koeficienty[0])));

// Assign PlotModel to PlotView
myPlot.Model = myModel;

//Set up plot for display
myPlot.Dock = System.Windows.Forms.DockStyle.Top;
myPlot.Location = new System.Drawing.Point(0,0);
myPlot.Size = new System.Drawing.Size(700,700);
myPlot.TabIndex = 0;
Controls.Add(myPlot);

谢谢您的建议。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)