ChartComponents icon indicating copy to clipboard operation
ChartComponents copied to clipboard

Unable to load visuals, getting error in the function on importing the component

Open FaisalAhmad786 opened this issue 2 years ago • 5 comments

image

Can you please tell me what will be the correct code here.

FaisalAhmad786 avatar Apr 12 '23 12:04 FaisalAhmad786

"Result" property on Split method has been replaced a couple of weeks ago with the "Value" property (to be like all other methods) Waiting for the fix, you have to replace Value(Result) errors with Value(Value) [it can looks strange but the first Value makes the string as number, and the second value refers to one of the splitted part of text]

alexsolex avatar May 24 '23 17:05 alexsolex

You may have another issue with code. You have in the code a Sort method using just a simple "Descending" sort order. image

A couple of weeks ago, microsoft made mandatory to use the name of the enumeration. So you have to replace it with the correct syntax : "SortOrder.Descending" image

alexsolex avatar May 24 '23 17:05 alexsolex

Also, for the Gantt component, the dateadd, datediff functions now require TimeUnit to be prefixed the Months and Days.

smolvik1 avatar May 24 '23 18:05 smolvik1

I still get a division by zero error ... Still searching the reason.

alexsolex avatar May 24 '23 19:05 alexsolex

@alexsolex Thanks for the help man. Greatly appreciate it. Any luck with the division by zero error?

FaisalAhmad786 avatar May 29 '23 13:05 FaisalAhmad786