[
 1. add legend on Xchart.
 2. add logic that show legend base on datas.
]