Runtime Error: the operation * cannot accept the arguments "empty string", 1

That multiplication by 1 seems to be necessary as @TIMAI2 explained here

My suggestion was this

You also could initialize the textboxes with 0 or add an if statement for both textboxes like this

If is empty Textbox.Text
Then set Textbox.Text to 0

Taifun
PS: I'm not familiar with the ChartMakerPlus extension