Add png command for material
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<Button.ToolTip>
|
||||
<uc:ButtonToolTipEh HeaderText="Show diagram's areas"
|
||||
IconContent="{StaticResource GetArea}"
|
||||
DescriptionText="Show areas of regions under diagrams (represent energy of deformation of material)"/>
|
||||
DescriptionText="Show areas of regions under diagrams (represents energy of deformation of material)"/>
|
||||
</Button.ToolTip>
|
||||
<Viewbox>
|
||||
<ContentControl ContentTemplate="{StaticResource GetArea}"/>
|
||||
|
||||
@@ -257,10 +257,7 @@ namespace StructureHelper.Windows.Graphs
|
||||
var chartValues = new ChartValues<double>();
|
||||
for (double s = minValue; s < maxValue; s += step)
|
||||
{
|
||||
//var trueStep = s * factor;
|
||||
double diagramValue = Math.Round(loaderMaterial.Diagram.Invoke(loaderMaterial.DiagramParameters, s * factor)) * factor * UnitConstants.Stress;
|
||||
//var point = new PointF() { X = (float)s, Y = (float)diagramValue };
|
||||
//chartValues.Add(point);
|
||||
chartValues.Add(diagramValue);
|
||||
labels.Add(Convert.ToString(Math.Round(s, 4)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user