Jump to content
  • How to add Straight Line Fit in a visualization in Spotfire® Using IronPython Scripting


    This article shows how to add Straight Line Fit in a visualization in Spotfire® Using IronPython Scripting

    Introduction

    This code snippet details on how to add Straight Line Fit in a visualization.

    Code sample

     # Copyright © 2017. TIBCO Software Inc.  Licensed under TIBCO BSD-style license.
     
     from Spotfire.Dxp.Application.Visuals import *
     
     barChart = bc.As[barChart]()
     
     barChart.FittingModels.AddStraightLineFit()
     

    References

    License:  TIBCO BSD-Style License

     

     

    • Like 1

    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...