Can I use grafana time range on HTML page

I need a time range to filter the chart on HTML page. According to time range filtration in Chart.