showMaxMin Function added

complementary support for custom charts