chratjs cc fixes to ajson compatible (#867)

This commit is contained in:
choper725 2024-02-04 23:43:25 +02:00 committed by GitHub
parent 3bea3d8ee8
commit 6a49cbc0da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,7 +90,7 @@ CLASS z2ui5_cl_cc_chartjs DEFINITION
type TYPE string,
data TYPE string_table,
data_venn TYPE ty_data_venn_t,
data_x_y_r TYPE ty_x_y_r_data_t,
data_radial TYPE ty_x_y_r_data_t,
border_width TYPE i,
border_color TYPE string,
border_radius TYPE i,
@ -714,7 +714,7 @@ CLASS Z2UI5_CL_CC_CHARTJS IMPLEMENTATION.
` tConfig = tConfig.replace("scaleid","scaleID");` && |\n| &&
` tConfig = tConfig.replaceAll("xScaleid","xScaleID");` && |\n| &&
` tConfig = tConfig.replaceAll("yScaleid","yScaleID");` && |\n| &&
` tConfig = tConfig.replaceAll("dataXYR","data");` && |\n| &&
` tConfig = tConfig.replaceAll("dataRadial","data");` && |\n| &&
` oConfig = JSON.parse(tConfig);` && |\n| &&
` this.setProperty("config", oConfig );` && |\n| &&
` if(oConfig){ fixJsonLibs(oConfig); };` && |\n| &&