IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
92 stars 42 forks source link

Question about rephrase.Grid #359

Open tosapola opened 1 year ago

tosapola commented 1 year ago

Hi,

If I understand correctly, we can use Grid to hold some master arguments that we want to pass to all of Grid's children.

But now we can't set any, for example, the example code produces errors.

grid1 = rephrase.Grid("", 2, 2, "DisplayTitle", true, "DateFormat", "YY\QQ");

Best, Tos

jaromir-benes commented 1 year ago

Hi

  1. DisplayTitle -> ShowTitle (sorry, I was renaming the options to make them consistent across report elements)

  2. DateFormat is an option not of the Grid but of the Chart. If you wish to pass an option down to children elements from a parent, you use the Pass= option

...rephrase.Grid(..., "pass", {"dateFormat", "...", ...}, ...)

Best Jaromir

On Thu, Dec 22, 2022 at 9:27 AM tosapola @.***> wrote:

Hi,

If I understand correctly, we can use Grid to hold some master arguments that we want to pass to all of Grid's children.

But now we can't set any, for example, the example code produces errors.

grid1 = rephrase.Grid("", 2, 2, "DisplayTitle", true, "DateFormat", "YY\QQ");

Best, Tos

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKQ5LCJFCWSAOXVV2YLWOQGHBANCNFSM6AAAAAATGORGD4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>