fxied bug for legend

the bug of legend axis `x` computed as a number not string