implement frequence and range options for charts