Update OnLegenStyle.js

slider alignment negative chart values