new to ADE 4.6
When set to true, GraphToStream and GraphToFile use the slicer state and pivot settings stored with the model, producing the same result graph as you would see when viewing the result is desktop Analytica.
When this is false, the index ordering you specify by calling SetIndexOrder is used as the table pivot, and it is up to you to select the slice to display by calling CATable::Subscript or CATable::Slice, and generating the graph using from result of these. Any remaining index that you don't slice will be graphed as if its slicer was set do «All» in desktop Analytica.
tab.GraphWithStoredPivot = true tab.GraphToFile("result.png","image/png")