Enables analysis on functions with variables (#1021)

* Add Graph Options to enable analysis with variables

* Remove debugging call to GetAllowKeyGraphFeaturesForFunctionsWithParameters()

* Updated the variable analysis logic to use the UpdateGraphOptions method
This commit is contained in:
Stephanie Anderl 2020-02-04 13:43:00 -08:00 committed by GitHub
parent ff5efcdd78
commit f4ab94ce1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,6 +199,10 @@ namespace GraphControl
{
if (auto analyzer = graph->GetAnalyzer())
{
vector<Equation ^> equationVector;
equationVector.push_back(equation);
UpdateGraphOptions(graph->GetOptions(), equationVector);
if (analyzer->CanFunctionAnalysisBePerformed())
{
if (S_OK