Skip to content

Commit

Permalink
closes #671 'Formula lines' dialog preview is not updated if scatter …
Browse files Browse the repository at this point in the history
…plot configuration is changed
  • Loading branch information
Denys Kryvchuk committed Feb 5, 2024
1 parent 9eee5aa commit e1ec146
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/PowerPack/src/dialogs/formula-lines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ class Preview {
throw 'Host is not DataFrame or Viewer.';

this.scatterPlot = DG.Viewer.scatterPlot(this.dataFrame, {
yAxisType: src instanceof DG.Viewer ? src.props.yAxisType : 'linear',
xAxisType: src instanceof DG.Viewer ? src.props.xAxisType : 'linear',
invertXAxis: src instanceof DG.Viewer ? src.props.invertXAxis : false,
invertYAxis: src instanceof DG.Viewer ? src.props.invertYAxis : false,
showDataframeFormulaLines: false,
showViewerFormulaLines: true,
showSizeSelector: false,
Expand Down

0 comments on commit e1ec146

Please sign in to comment.