cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-781236%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPNG%20Export%20Issues%20for%20Dashboard%20in%20JMP%2016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781236%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20question%20about%20saving%20a%20dashboard%20as%20a%20PNG%20in%20JMP%2016.%20I%20found%20an%20example%20in%20an%20old%20question%2C%20but%20it%20doesn't%20work%20for%20me.%3C%2FP%3E%3CP%3EI%20received%20this%20response%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%3EUnresolved%20name%3A%20dash%20at%20line%2013%20while%20accessing%20or%20evaluating%20%22dash%22%2C%20dash%2F*%23%23%23*%2F%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3Eat%20line%20440%20in%20D%3A%5CProject%20JMP%5CScripts%5CPourcentageDeNokParJour.jsl.%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eresults_table%20%3D%20Open(%20%22D%3A%2FProject%20JMP%2FTables%20Resultats%20NOK%20percentages%2FResults.jmp%22%20)%3B%0A%0Adash%20%3D%20JMP%20App(%0A%09Set%20Name(%20%22Tableau%20de%20bord%22%20)%2C%0A%09Set%20Description(%20%22Description%22%20)%2C%0A%09Auto%20Launch(%201%20)%2C%0A%09Snap%20To%20Grid(%201%20)%2C%0A%09Show%20Grid(%201%20)%2C%0A%09Show%20Properties(%200%20)%2C%0A%09Show%20Sources(%201%20)%2C%0A%09Group%20By%20Category(%200%20)%2C%0A%09Dashboard%20Mode(%201%20)%2C%0A%09Parameters%2C%0A%09Tables(%0A%09%09DataTable1%20%3D%20GuiTable(%0A%09%09%09Set%20Path(%0A%09%09%09%09%22%2FD%3A%2FProject%20JMP%2FTables%20Resultats%20NOK%20percentages%2FResults.jmp%22%0A%09%09%09)%2C%0A%09%09%09Set%20Label(%20%22Results%22%20)%2C%0A%09%09%09Location(%20%22Current%20Data%20Table%22%20)%2C%0A%09%09%09Invisible(%200%20)%0A%09%09)%0A%09)%2C%0A%09Script(JSL%20Quote(%2F%2F%20This%20script%20is%20executed%20when%20the%20application%20is%20run.%0A%2F%2F%20Named%20objects%20have%20been%20created%20for%20the%20application%20modules%0A%2F%2F%20(for%20example%2C%20%22Module1%22)%20and%20the%20pre-defined%20object%0A%2F%2F%20%22thisApplication%22%20refers%20to%20the%20application%20object%20itself.%0A%2F%2F%20Variables%20and%20functions%20declared%20here%20are%20scoped%20to%20the%0A%2F%2F%20Application%20namespace.%0A%0A%0A)%09)%2C%0A%09Allocate(%0A%09%09Module1%20%3D%20Plan(%0A%09%09%09PreAllocate%2C%0A%09%09%09Script(JSL%20Quote(%2F%2F%20This%20script%20is%20executed%20when%20a%20new%20module%20instance%20is%0A%2F%2F%20created.%20%20The%20pre-defined%20object%20%22thisModuleInstance%22%20refers%0A%2F%2F%20to%20the%20instance%20object%2C%20but%20other%20objects%20such%20as%20boxes%20and%0A%2F%2F%20scripts%20have%20not%20yet%20been%20created.%20%20Variables%20declared%20here%20are%0A%2F%2F%20scoped%20to%20the%20ModuleInstance%20namespace.%0A%0A%2F%2F%20This%20special%20function%20will%20receive%20parameters%20passed%20to%20CreateInstance()%0AOnModuleLoad(%7B%7D%2C%0A)%3B%0A%0AthisModuleInstance%20%26lt%3B%26lt%3B%20Create%20Objects%3B%0A%0A%2F%2F%20After%20this%20point%20your%20module%20instance%20objects%20have%20been%20created%0A%2F%2F%20and%20can%20be%20referred%20to%20by%20name%20(for%20example%2C%20%22Button1%22).%0A%0ATry(TabPage3%20%26lt%3B%26lt%3B%20Set%20Scriptable%20Object(thisApplication))%3B%0A)%09%09%09)%2C%0A%09%09%09Allocate(%0A%09%09%09%09TabPage3%20%3D%20Tab%20Page%20Box()%3B%0A%09%09%09%09Splitter1%20%3D%20H%20Splitter%20Box()%3B%0A%09%09%09%09TabPage1%20%3D%20Tab%20Page%20Box()%3B%0A%09%09%09%09Scroll1%20%3D%20Scroll%20Box()%3B%0A%09%09%09%09Report1%20%3D%20Platform(%0A%09%09%09%09%09DataTable1%2C%0A%09%09%09%09%09Graph%20Builder(%0A%09%09%09%09%09%09Size(%20815%2C%20650%20)%2C%0A%09%09%09%09%09%09Show%20Control%20Panel(%200%20)%2C%0A%09%09%09%09%09%09Fit%20to%20Window%2C%0A%09%09%09%09%09%09Variables(%0A%09%09%09%09%09%09%09X(%20%3ADate%20)%2C%0A%09%09%09%09%09%09%09Y(%20%3APercent%20NOK%20ICT%20)%2C%0A%09%09%09%09%09%09%09Y(%20%3APercent%20NOK%20FCT%20)%0A%09%09%09%09%09%09)%2C%0A%09%09%09%09%09%09Elements(%20Position(%201%2C%201%20)%2C%20Line(%20X%2C%20Y%2C%20Legend(%2013%20)%20)%20)%2C%0A%09%09%09%09%09%09Elements(%20Position(%201%2C%202%20)%2C%20Line(%20X%2C%20Y%2C%20Legend(%2014%20)%20)%20)%2C%0A%09%09%09%09%09%09SendToReport(%0A%09%09%09%09%09%09%09Dispatch(%0A%09%09%09%09%09%09%09%09%7B%7D%2C%0A%09%09%09%09%09%09%09%09%22graph%20title%22%2C%0A%09%09%09%09%09%09%09%09TextEditBox%2C%0A%09%09%09%09%09%09%09%09%7BSet%20Text(%0A%09%09%09%09%09%09%09%09%09%22Percent%20NOK%20ICT%20%26amp%3B%20%20FCT%20par%20rapport%20%C3%A0%20Date%22%0A%09%09%09%09%09%09%09%09)%7D%0A%09%09%09%09%09%09%09)%0A%09%09%09%09%09%09)%0A%09%09%09%09%09)%0A%09%09%09%09)%3B%0A%09%09%09%09TabPage2%20%3D%20Tab%20Page%20Box()%3B%0A%09%09%09%09Scroll2%20%3D%20Scroll%20Box()%3B%0A%09%09%09%09Report2%20%3D%20Platform(%0A%09%09%09%09%09DataTable1%2C%0A%09%09%09%09%09Graph%20Builder(%0A%09%09%09%09%09%09Size(%20851%2C%20698%20)%2C%0A%09%09%09%09%09%09Show%20Control%20Panel(%200%20)%2C%0A%09%09%09%09%09%09Fit%20to%20Window%2C%0A%09%09%09%09%09%09Variables(%0A%09%09%09%09%09%09%09X(%20%3ADate%20)%2C%0A%09%09%09%09%09%09%09Y(%20%3ATotal%20ICT%20)%2C%0A%09%09%09%09%09%09%09Y(%20%3ANOK%20ICT%2C%20Position(%201%20)%20)%2C%0A%09%09%09%09%09%09%09Y(%20%3ATotal%20FCT%20)%2C%0A%09%09%09%09%09%09%09Y(%20%3ANOK%20FCT%2C%20Position(%202%20)%20)%0A%09%09%09%09%09%09)%2C%0A%09%09%09%09%09%09Elements(%0A%09%09%09%09%09%09%09Position(%201%2C%201%20)%2C%0A%09%09%09%09%09%09%09Bar(%0A%09%09%09%09%09%09%09%09X%2C%0A%09%09%09%09%09%09%09%09Y(%201%20)%2C%0A%09%09%09%09%09%09%09%09Y(%202%20)%2C%0A%09%09%09%09%09%09%09%09Legend(%2011%20)%2C%0A%09%09%09%09%09%09%09%09Label(%20%22Label%20by%20Value%22%20)%0A%09%09%09%09%09%09%09)%0A%09%09%09%09%09%09)%2C%0A%09%09%09%09%09%09Elements(%0A%09%09%09%09%09%09%09Position(%201%2C%202%20)%2C%0A%09%09%09%09%09%09%09Bar(%0A%09%09%09%09%09%09%09%09X%2C%0A%09%09%09%09%09%09%09%09Y(%201%20)%2C%0A%09%09%09%09%09%09%09%09Y(%202%20)%2C%0A%09%09%09%09%09%09%09%09Legend(%206%20)%2C%0A%09%09%09%09%09%09%09%09Label(%20%22Label%20by%20Value%22%20)%0A%09%09%09%09%09%09%09)%0A%09%09%09%09%09%09)%2C%0A%09%09%09%09%09%09SendToReport(%0A%09%09%09%09%09%09%09Dispatch(%0A%09%09%09%09%09%09%09%09%7B%7D%2C%0A%09%09%09%09%09%09%09%09%22graph%20title%22%2C%0A%09%09%09%09%09%09%09%09TextEditBox%2C%0A%09%09%09%09%09%09%09%09%7BSet%20Text(%0A%09%09%09%09%09%09%09%09%09%22NOK%20ICT%20et%20FCT%20%2F%20Total%20ICT%20et%20FCT%20par%20rapport%20%C3%A0%20Date%22%0A%09%09%09%09%09%09%09%09)%7D%0A%09%09%09%09%09%09%09)%0A%09%09%09%09%09%09)%0A%09%09%09%09%09)%0A%09%09%09%09)%3B%0A%09%09%09)%2C%0A%09%09%09Organize(%0A%09%09%09%09Reparent(%20Scroll2(%20Report2%20)%20)%3B%0A%09%09%09%09Reparent(%20TabPage2(%20Scroll2%20)%20)%3B%0A%09%09%09%09Reparent(%20Splitter1(%20TabPage2%20)%20)%3B%0A%09%09%09%09Reparent(%20Scroll1(%20Report1%20)%20)%3B%0A%09%09%09%09Reparent(%20TabPage1(%20Scroll1%20)%20)%3B%0A%09%09%09%09Reparent(%20Splitter1(%20TabPage1%20)%20)%3B%0A%09%09%09%09Reparent(%20TabPage3(%20Splitter1%20)%20)%3B%0A%09%09%09%09Relocate(%20TabPage3(%200%2C%200%20)%20)%3B%0A%09%09%09)%2C%0A%09%09%09Initialize(%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Border(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Margin(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Padding(%0A%09%09%09%09%09%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%0A%09%09%09%09)%2C%20TabPage3%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20TabPage3%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20442%2C%20139%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2030000%2C%2030000%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Neutre%22%2C%20%22Neutre%22%7D%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Title(%20%22Total%20Production%20%25%20%26amp%3B%20NOK%20%25%20Dashboard%22%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Tip(%20%22%22%20)%2C%20TabPage3%20%26lt%3B%26lt%3B%20Icon(%20%22%22%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Closeable(%200%20)%2C%20TabPage3%20%26lt%3B%26lt%3B%20Moveable(%200%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Set%20Base%20Font(%20%22Texte%22%20)%2C%0A%09%09%09%09TabPage3%20%26lt%3B%26lt%3B%20Set%20Font%20Scale(%201%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Border(%0A%09%09%09%09%09%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%0A%09%09%09%09)%2C%20Splitter1%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Margin(%0A%09%09%09%09%09%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%0A%09%09%09%09)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Padding(%0A%09%09%09%09%09%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%0A%09%09%09%09)%2C%20Splitter1%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20Splitter1%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%20Splitter1%20%26lt%3B%26lt%3B%20Dockable(%201%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Set%20Width(%201908%20)%2C%20Splitter1%20%26lt%3B%26lt%3B%20Set%20Height(%20728%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Set%20Sizes(%20%7B0.502347417840376%2C%200.497652582159624%7D%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20442%2C%20113%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2060003%2C%2030000%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Fen%C3%AAtre%22%2C%20%22Fen%C3%AAtre%22%7D%20)%2C%0A%09%09%09%09Splitter1%20%26lt%3B%26lt%3B%20set%20horizontal(%201%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Border(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Margin(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Padding(%0A%09%09%09%09%09%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%0A%09%09%09%09)%2C%20TabPage1%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20TabPage1%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20241%2C%20102%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2030000%2C%2030000%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Neutre%22%2C%20%22Neutre%22%7D%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Title(%20%22Constructeur%20de%20graphiques%22%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Tip(%20%22%22%20)%2C%20TabPage1%20%26lt%3B%26lt%3B%20Icon(%20%22Trellis%22%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Closeable(%201%20)%2C%20TabPage1%20%26lt%3B%26lt%3B%20Moveable(%201%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Set%20Base%20Font(%20%22Texte%22%20)%2C%0A%09%09%09%09TabPage1%20%26lt%3B%26lt%3B%20Set%20Font%20Scale(%201%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Border(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Margin(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Padding(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20Scroll1%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20User%20Resizable(%20%7B1%2C%201%7D%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20241%2C%2076%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2030141%2C%2030001%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Fen%C3%AAtre%22%2C%20%22Fen%C3%AAtre%22%7D%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Width(%20956%20)%2C%20Scroll1%20%26lt%3B%26lt%3B%20Height(%20702%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Set%20Auto%20Scrollable(%201%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Set%20Scrollers(%200%2C%200%20)%2C%20Scroll1%20%26lt%3B%26lt%3B%20Set%20Show%20Empty(%200%20)%2C%0A%09%09%09%09Scroll1%20%26lt%3B%26lt%3B%20Set%20Clip%20Printing(%200%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Border(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Margin(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Padding(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20Report1%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20241%2C%2076%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2030141%2C%2030001%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Neutre%22%2C%20%22Neutre%22%7D%20)%2C%0A%09%09%09%09Report1%20%26lt%3B%26lt%3B%20set%20horizontal(%200%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Border(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Margin(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Padding(%0A%09%09%09%09%09%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%0A%09%09%09%09)%2C%20TabPage2%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20TabPage2%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20198%2C%20113%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2030000%2C%2030000%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Neutre%22%2C%20%22Neutre%22%7D%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Title(%20%22Constructeur%20de%20graphiques%22%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Tip(%20%22%22%20)%2C%20TabPage2%20%26lt%3B%26lt%3B%20Icon(%20%22Trellis%22%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Closeable(%201%20)%2C%20TabPage2%20%26lt%3B%26lt%3B%20Moveable(%201%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Set%20Base%20Font(%20%22Texte%22%20)%2C%0A%09%09%09%09TabPage2%20%26lt%3B%26lt%3B%20Set%20Font%20Scale(%201%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Border(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Margin(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Padding(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20Scroll2%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20User%20Resizable(%20%7B1%2C%201%7D%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20198%2C%2087%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2030098%2C%2030001%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Fen%C3%AAtre%22%2C%20%22Fen%C3%AAtre%22%7D%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Width(%20949%20)%2C%20Scroll2%20%26lt%3B%26lt%3B%20Height(%20702%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Set%20Auto%20Scrollable(%201%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Set%20Scrollers(%200%2C%200%20)%2C%20Scroll2%20%26lt%3B%26lt%3B%20Set%20Show%20Empty(%200%20)%2C%0A%09%09%09%09Scroll2%20%26lt%3B%26lt%3B%20Set%20Clip%20Printing(%200%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Background%20Color(%202147483647%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Border(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Enabled(%201%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Horizontal%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Margin(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Padding(%20%7BLeft(%200%20)%2C%20Top(%200%20)%2C%20Right(%200%20)%2C%20Bottom(%200%20)%7D%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Text%20Color(%202147483647%20)%2C%20Report2%20%26lt%3B%26lt%3B%20UI%20Only(%200%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Vertical%20Alignment(%20%22Default%22%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Set%20Min%20Size(%20198%2C%2087%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Set%20Max%20Size(%2030098%2C%2030001%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20Set%20Stretch(%20%7B%22Neutre%22%2C%20%22Neutre%22%7D%20)%2C%0A%09%09%09%09Report2%20%26lt%3B%26lt%3B%20set%20horizontal(%200%20)%0A%09%09%09)%0A%09%09)%0A%09)%2C%0A%09Initialize(%0A%09%09Module1%20%26lt%3B%26lt%3B%20Auto%20Launch(%201%20)%3B%0A%09%09Module1%20%26lt%3B%26lt%3B%20Set%20Module%20Type(%20%22Report%22%20)%3B%0A%09%09Module1%20%26lt%3B%26lt%3B%20Set%20Window%20Title(%20%22%5ETABLENAME%20-%20%5EAPPNAME%22%20)%3B%0A%09)%0A)%20%26lt%3B%26lt%3B%20Run%0A%0A%0ANokBoard%20%3D%20dash%20%26lt%3B%26lt%3B%20Get%20Windows%3B%0A%0ANokBoard%20%26lt%3B%26lt%3B%20Save%20Picture%20(%22D%3A%5CProject%20JMP%5CDashBoards%5CProductionPercent-NokPercent_DashBoard_of_%22%7C%7Ccurrent_month%7C%7C%22.png%22%2C%20%22png%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EThank%20you%20in%20advance%2C%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2C%3CBR%20%2F%3EYass%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-781236%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EData%20Exploration%20and%20Visualization%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EQuality%20and%20Process%20Engineering%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781250%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PNG%20Export%20Issues%20for%20Dashboard%20in%20JMP%2016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781250%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAre%20you%20getting%20the%20dashboard%20when%20you%20run%20the%20script%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781262%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3ERe%3A%20PNG%20Export%20Issues%20for%20Dashboard%20in%20JMP%2016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781262%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3Emy%20bad%2C%20I%20forgot%20the%20%22%3B%22%20after%20Run.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E)%20%26lt%3B%26lt%3B%20Run%20%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781264%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PNG%20Export%20Issues%20for%20Dashboard%20in%20JMP%2016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781264%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EBefore%2C%20I%20didn't%20get%20the%20dashboard%2C%20but%20now%20I%20did%20find%20the%20issue.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PNG%20Export%20Issues%20for%20Dashboard%20in%20JMP%2016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F14366%22%20target%3D%22_blank%22%3E%40jthi%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20question%3A%20I%20tried%20to%20change%20the%20line%20and%20bar%20colors%20in%20Graph%20Builder%20but%20I'm%20not%20sure%20how%20to%20do%20it.%20I%20created%20a%20dashboard%20you%20find%20the%20code%20in%20my%20last%20message%20where%20i%20have%20ask%20for%20help%20in%20the%20e%3CSPAN%3Export%20Issues%3C%2FSPAN%3E%26nbsp%3Bof%20the%20dashboard%20and%20attempted%20to%20modify%20it%20with%20code%2C%20but%20I%20haven't%20had%20any%20success.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EFill%20Color(%20%22%22%20)%2C%0ALine%20Color(%20%22%22%20)%2C%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Yass_1-1723639445996.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Yass_1-1723639445996.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Yass_1-1723639445996.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Yass_1-1723639445996.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67123iB7C1BA9C87E69A9B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Yass_1-1723639445996.png%22%20alt%3D%22Yass_1-1723639445996.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781506%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PNG%20Export%20Issues%20for%20Dashboard%20in%20JMP%2016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781506%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDo%20it%20interactively%20in%20JMP%3A%20right%20click%20on%20the%20legend%20and%20you%20should%20be%20able%20to%20change%20the%20colors%20and%20get%20the%20script%20from%20red%20triangle%20menu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781511%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20PNG%20Export%20Issues%20for%20Dashboard%20in%20JMP%2016%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781511%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you.It%20works%20!!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Yass
Level IV

PNG Export Issues for Dashboard in JMP 16

Hi everyone,

 

I have a question about saving a dashboard as a PNG in JMP 16. I found an example in an old question, but it doesn't work for me.

I received this response:

 

Unresolved name: dash at line 13 while accessing or evaluating "dash", dash/*###*/
at line 440 in D:\Project JMP\Scripts\PourcentageDeNokParJour.jsl.

 

 

 

results_table = Open( "D:/Project JMP/Tables Resultats NOK percentages/Results.jmp" );

dash = JMP App(
	Set Name( "Tableau de bord" ),
	Set Description( "Description" ),
	Auto Launch( 1 ),
	Snap To Grid( 1 ),
	Show Grid( 1 ),
	Show Properties( 0 ),
	Show Sources( 1 ),
	Group By Category( 0 ),
	Dashboard Mode( 1 ),
	Parameters,
	Tables(
		DataTable1 = GuiTable(
			Set Path(
				"/D:/Project JMP/Tables Resultats NOK percentages/Results.jmp"
			),
			Set Label( "Results" ),
			Location( "Current Data Table" ),
			Invisible( 0 )
		)
	),
	Script(JSL Quote(// This script is executed when the application is run.
// Named objects have been created for the application modules
// (for example, "Module1") and the pre-defined object
// "thisApplication" refers to the application object itself.
// Variables and functions declared here are scoped to the
// Application namespace.


)	),
	Allocate(
		Module1 = Plan(
			PreAllocate,
			Script(JSL Quote(// This script is executed when a new module instance is
// created.  The pre-defined object "thisModuleInstance" refers
// to the instance object, but other objects such as boxes and
// scripts have not yet been created.  Variables declared here are
// scoped to the ModuleInstance namespace.

// This special function will receive parameters passed to CreateInstance()
OnModuleLoad({},
);

thisModuleInstance << Create Objects;

// After this point your module instance objects have been created
// and can be referred to by name (for example, "Button1").

Try(TabPage3 << Set Scriptable Object(thisApplication));
)			),
			Allocate(
				TabPage3 = Tab Page Box();
				Splitter1 = H Splitter Box();
				TabPage1 = Tab Page Box();
				Scroll1 = Scroll Box();
				Report1 = Platform(
					DataTable1,
					Graph Builder(
						Size( 815, 650 ),
						Show Control Panel( 0 ),
						Fit to Window,
						Variables(
							X( :Date ),
							Y( :Percent NOK ICT ),
							Y( :Percent NOK FCT )
						),
						Elements( Position( 1, 1 ), Line( X, Y, Legend( 13 ) ) ),
						Elements( Position( 1, 2 ), Line( X, Y, Legend( 14 ) ) ),
						SendToReport(
							Dispatch(
								{},
								"graph title",
								TextEditBox,
								{Set Text(
									"Percent NOK ICT &  FCT par rapport à Date"
								)}
							)
						)
					)
				);
				TabPage2 = Tab Page Box();
				Scroll2 = Scroll Box();
				Report2 = Platform(
					DataTable1,
					Graph Builder(
						Size( 851, 698 ),
						Show Control Panel( 0 ),
						Fit to Window,
						Variables(
							X( :Date ),
							Y( :Total ICT ),
							Y( :NOK ICT, Position( 1 ) ),
							Y( :Total FCT ),
							Y( :NOK FCT, Position( 2 ) )
						),
						Elements(
							Position( 1, 1 ),
							Bar(
								X,
								Y( 1 ),
								Y( 2 ),
								Legend( 11 ),
								Label( "Label by Value" )
							)
						),
						Elements(
							Position( 1, 2 ),
							Bar(
								X,
								Y( 1 ),
								Y( 2 ),
								Legend( 6 ),
								Label( "Label by Value" )
							)
						),
						SendToReport(
							Dispatch(
								{},
								"graph title",
								TextEditBox,
								{Set Text(
									"NOK ICT et FCT / Total ICT et FCT par rapport à Date"
								)}
							)
						)
					)
				);
			),
			Organize(
				Reparent( Scroll2( Report2 ) );
				Reparent( TabPage2( Scroll2 ) );
				Reparent( Splitter1( TabPage2 ) );
				Reparent( Scroll1( Report1 ) );
				Reparent( TabPage1( Scroll1 ) );
				Reparent( Splitter1( TabPage1 ) );
				Reparent( TabPage3( Splitter1 ) );
				Relocate( TabPage3( 0, 0 ) );
			),
			Initialize(
				TabPage3 << Background Color( 2147483647 ),
				TabPage3 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage3 << Enabled( 1 ),
				TabPage3 << Horizontal Alignment( "Default" ),
				TabPage3 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage3 << Padding(
					{Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )}
				), TabPage3 << Text Color( 2147483647 ), TabPage3 << UI Only( 0 ),
				TabPage3 << Vertical Alignment( "Default" ),
				TabPage3 << Visibility( "Visible" ),
				TabPage3 << Set Min Size( 442, 139 ),
				TabPage3 << Set Max Size( 30000, 30000 ),
				TabPage3 << Set Stretch( {"Neutre", "Neutre"} ),
				TabPage3 << Title( "Total Production % & NOK % Dashboard" ),
				TabPage3 << Tip( "" ), TabPage3 << Icon( "" ),
				TabPage3 << Closeable( 0 ), TabPage3 << Moveable( 0 ),
				TabPage3 << Set Base Font( "Texte" ),
				TabPage3 << Set Font Scale( 1 ),
				Splitter1 << Background Color( 2147483647 ),
				Splitter1 << Border(
					{Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )}
				), Splitter1 << Enabled( 1 ),
				Splitter1 << Horizontal Alignment( "Default" ),
				Splitter1 << Margin(
					{Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )}
				),
				Splitter1 << Padding(
					{Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )}
				), Splitter1 << Text Color( 2147483647 ), Splitter1 << UI Only( 0 ),
				Splitter1 << Vertical Alignment( "Default" ),
				Splitter1 << Visibility( "Visible" ), Splitter1 << Dockable( 1 ),
				Splitter1 << Set Width( 1908 ), Splitter1 << Set Height( 728 ),
				Splitter1 << Set Sizes( {0.502347417840376, 0.497652582159624} ),
				Splitter1 << Set Min Size( 442, 113 ),
				Splitter1 << Set Max Size( 60003, 30000 ),
				Splitter1 << Set Stretch( {"Fenêtre", "Fenêtre"} ),
				Splitter1 << set horizontal( 1 ),
				TabPage1 << Background Color( 2147483647 ),
				TabPage1 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage1 << Enabled( 1 ),
				TabPage1 << Horizontal Alignment( "Default" ),
				TabPage1 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage1 << Padding(
					{Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )}
				), TabPage1 << Text Color( 2147483647 ), TabPage1 << UI Only( 0 ),
				TabPage1 << Vertical Alignment( "Default" ),
				TabPage1 << Visibility( "Visible" ),
				TabPage1 << Set Min Size( 241, 102 ),
				TabPage1 << Set Max Size( 30000, 30000 ),
				TabPage1 << Set Stretch( {"Neutre", "Neutre"} ),
				TabPage1 << Title( "Constructeur de graphiques" ),
				TabPage1 << Tip( "" ), TabPage1 << Icon( "Trellis" ),
				TabPage1 << Closeable( 1 ), TabPage1 << Moveable( 1 ),
				TabPage1 << Set Base Font( "Texte" ),
				TabPage1 << Set Font Scale( 1 ),
				Scroll1 << Background Color( 2147483647 ),
				Scroll1 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll1 << Enabled( 1 ),
				Scroll1 << Horizontal Alignment( "Default" ),
				Scroll1 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll1 << Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll1 << Text Color( 2147483647 ), Scroll1 << UI Only( 0 ),
				Scroll1 << User Resizable( {1, 1} ),
				Scroll1 << Vertical Alignment( "Default" ),
				Scroll1 << Visibility( "Visible" ),
				Scroll1 << Set Min Size( 241, 76 ),
				Scroll1 << Set Max Size( 30141, 30001 ),
				Scroll1 << Set Stretch( {"Fenêtre", "Fenêtre"} ),
				Scroll1 << Width( 956 ), Scroll1 << Height( 702 ),
				Scroll1 << Set Auto Scrollable( 1 ),
				Scroll1 << Set Scrollers( 0, 0 ), Scroll1 << Set Show Empty( 0 ),
				Scroll1 << Set Clip Printing( 0 ),
				Report1 << Background Color( 2147483647 ),
				Report1 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report1 << Enabled( 1 ),
				Report1 << Horizontal Alignment( "Default" ),
				Report1 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report1 << Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report1 << Text Color( 2147483647 ), Report1 << UI Only( 0 ),
				Report1 << Vertical Alignment( "Default" ),
				Report1 << Visibility( "Visible" ),
				Report1 << Set Min Size( 241, 76 ),
				Report1 << Set Max Size( 30141, 30001 ),
				Report1 << Set Stretch( {"Neutre", "Neutre"} ),
				Report1 << set horizontal( 0 ),
				TabPage2 << Background Color( 2147483647 ),
				TabPage2 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage2 << Enabled( 1 ),
				TabPage2 << Horizontal Alignment( "Default" ),
				TabPage2 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				TabPage2 << Padding(
					{Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )}
				), TabPage2 << Text Color( 2147483647 ), TabPage2 << UI Only( 0 ),
				TabPage2 << Vertical Alignment( "Default" ),
				TabPage2 << Visibility( "Visible" ),
				TabPage2 << Set Min Size( 198, 113 ),
				TabPage2 << Set Max Size( 30000, 30000 ),
				TabPage2 << Set Stretch( {"Neutre", "Neutre"} ),
				TabPage2 << Title( "Constructeur de graphiques" ),
				TabPage2 << Tip( "" ), TabPage2 << Icon( "Trellis" ),
				TabPage2 << Closeable( 1 ), TabPage2 << Moveable( 1 ),
				TabPage2 << Set Base Font( "Texte" ),
				TabPage2 << Set Font Scale( 1 ),
				Scroll2 << Background Color( 2147483647 ),
				Scroll2 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll2 << Enabled( 1 ),
				Scroll2 << Horizontal Alignment( "Default" ),
				Scroll2 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll2 << Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Scroll2 << Text Color( 2147483647 ), Scroll2 << UI Only( 0 ),
				Scroll2 << User Resizable( {1, 1} ),
				Scroll2 << Vertical Alignment( "Default" ),
				Scroll2 << Visibility( "Visible" ),
				Scroll2 << Set Min Size( 198, 87 ),
				Scroll2 << Set Max Size( 30098, 30001 ),
				Scroll2 << Set Stretch( {"Fenêtre", "Fenêtre"} ),
				Scroll2 << Width( 949 ), Scroll2 << Height( 702 ),
				Scroll2 << Set Auto Scrollable( 1 ),
				Scroll2 << Set Scrollers( 0, 0 ), Scroll2 << Set Show Empty( 0 ),
				Scroll2 << Set Clip Printing( 0 ),
				Report2 << Background Color( 2147483647 ),
				Report2 << Border( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report2 << Enabled( 1 ),
				Report2 << Horizontal Alignment( "Default" ),
				Report2 << Margin( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report2 << Padding( {Left( 0 ), Top( 0 ), Right( 0 ), Bottom( 0 )} ),
				Report2 << Text Color( 2147483647 ), Report2 << UI Only( 0 ),
				Report2 << Vertical Alignment( "Default" ),
				Report2 << Visibility( "Visible" ),
				Report2 << Set Min Size( 198, 87 ),
				Report2 << Set Max Size( 30098, 30001 ),
				Report2 << Set Stretch( {"Neutre", "Neutre"} ),
				Report2 << set horizontal( 0 )
			)
		)
	),
	Initialize(
		Module1 << Auto Launch( 1 );
		Module1 << Set Module Type( "Report" );
		Module1 << Set Window Title( "^TABLENAME - ^APPNAME" );
	)
) << Run


NokBoard = dash << Get Windows;

NokBoard << Save Picture ("D:\Project JMP\DashBoards\ProductionPercent-NokPercent_DashBoard_of_"||current_month||".png", "png");

Thank you in advance,

Best regards,
Yass

 

1 ACCEPTED SOLUTION

Accepted Solutions
Yass
Level IV

Re: PNG Export Issues for Dashboard in JMP 16

my bad, I forgot the ";" after Run.

) << Run ;

 

View solution in original post

6 REPLIES 6
jthi
Super User

Re: PNG Export Issues for Dashboard in JMP 16

Are you getting the dashboard when you run the script?

-Jarmo
Yass
Level IV

Re: PNG Export Issues for Dashboard in JMP 16

Before, I didn't get the dashboard, but now I did find the issue.

Yass
Level IV

Re: PNG Export Issues for Dashboard in JMP 16

Hi @jthi,

 

I have a question: I tried to change the line and bar colors in Graph Builder but I'm not sure how to do it. I created a dashboard you find the code in my last message where i have ask for help in the export Issues of the dashboard and attempted to modify it with code, but I haven't had any success.

 

Fill Color( "" ),
Line Color( "" ),

Yass_1-1723639445996.png

 

 

jthi
Super User

Re: PNG Export Issues for Dashboard in JMP 16

Do it interactively in JMP: right click on the legend and you should be able to change the colors and get the script from red triangle menu

-Jarmo
Yass
Level IV

Re: PNG Export Issues for Dashboard in JMP 16

Thank you.It works !!

Yass
Level IV

Re: PNG Export Issues for Dashboard in JMP 16

my bad, I forgot the ";" after Run.

) << Run ;

 

Recommended Articles