Skip to content

Commit

Permalink
chartjs - disable view rerendering on setpropery
Browse files Browse the repository at this point in the history
  • Loading branch information
choper725 committed Feb 27, 2024
1 parent 5235423 commit 415f531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/01/05/z2ui5_cl_cc_chartjs.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ ENDCLASS.



CLASS z2ui5_cl_cc_chartjs IMPLEMENTATION.
CLASS Z2UI5_CL_CC_CHARTJS IMPLEMENTATION.


METHOD get_chartjs_local.
Expand Down Expand Up @@ -716,7 +716,7 @@ CLASS z2ui5_cl_cc_chartjs IMPLEMENTATION.
` tConfig = tConfig.replaceAll("yScaleid","yScaleID");` && |\n| &&
` tConfig = tConfig.replaceAll("dataRadial","data");` && |\n| &&
` oConfig = JSON.parse(tConfig);` && |\n| &&
` this.setProperty("config", oConfig );` && |\n| &&
` this.setProperty("config", oConfig, true );` && |\n| &&
` if(oConfig){ fixJsonLibs(oConfig); };` && |\n| &&
` if(window[cVar]?.data) { window[cVar].data = oConfig.data; }` && |\n| &&
` if(window[cVar]?.options) { window[cVar].options = oConfig.options; }` && |\n| &&
Expand Down

0 comments on commit 415f531

Please sign in to comment.