从无法访问的项目Fork
Fix #6756 (when scrollable legend switch from "show controller" to "not show controller", content position should be correct.)
Otherwise, setOption at the second time will get wrong target series if it not specified.
check value field and unshift it if it's presented