As per price history, ₹" id="priceSymbol"/> EnabledLimits.MinStamp) ? true : false;
d = new Date();
d.setMonth(d.getMonth() - 6);
EnabledLimits.SixMonth = (d.getTime() > EnabledLimits.MinStamp) ? true : false;
d = new Date();
d.setMonth(d.getMonth() - 3);
EnabledLimits.ThreeMonth = (d.getTime() > EnabledLimits.MinStamp) ? true : false;
d = new Date();
d.setMonth(d.getMonth() - 1);
EnabledLimits.Month = (d.getTime() > EnabledLimits.MinStamp) ? true : false;
if (EnabledLimits.Year) document.getElementById("chart-action-button-1y").classList.remove("d-none");
if (EnabledLimits.SixMonth) document.getElementById("chart-action-button-6m").classList.remove("d-none");
if (EnabledLimits.ThreeMonth) document.getElementById("chart-action-button-3m").classList.remove("d-none");
if (EnabledLimits.Month) document.getElementById("chart-action-button-1m").classList.remove("d-none");
document.getElementById("chart-action-button-reset").classList.remove("d-none");
document.getElementById("chart-action-button-all").classList.remove("d-none");
}
function UpdateChartZoom(mode) {
let d = new Date();
switch (mode) {
case "1y":
d.setFullYear(d.getFullYear() - 1);
chart.options.scales.x.min = d.getTime();
break;
case "6m":
d.setMonth(d.getMonth() - 6);
chart.options.scales.x.min = d.getTime();
break;
case "3m":
d.setMonth(d.getMonth() - 3);
chart.options.scales.x.min = d.getTime();
break;
case "1m":
d.setMonth(d.getMonth() - 1);
chart.options.scales.x.min = d.getTime();
break;
case "all":
chart.options.scales.x.min = EnabledLimits.MinStamp;
break;
default:
if (EnabledLimits.SixMonth) {
UpdateChartZoom("6m");
} else if (EnabledLimits.ThreeMonth) {
UpdateChartZoom("3m");
} else if (EnabledLimits.Year) {
UpdateChartZoom("1y");
} else if (EnabledLimits.Month) {
UpdateChartZoom("1m");
} else {
UpdateChartZoom("all");
}
return;
}
chart.update();
}
const TooltipText = (tooltipItems) => {
if (tooltipItems.datasetIndex == 0) return "Price: \u20B9" + tooltipItems.parsed.y;
else if (tooltipItems.datasetIndex == 1) return "Offer Price: \u20B9" + tooltipItems.parsed.y;
else return "Price: \u20B9" + tooltipItems.parsed.y;
}
const TooltipTitle = (tooltipItems) => {
let d = new Date(tooltipItems[0].parsed.x);
return d.toDateString();
}
var ChartOptions = {
responsive: true,
elements: {
line: {
tension: 0.1
}
},
maintainAspectRatio: false,
onResize: (chart) => {
chart.update();
},
tooltips: {
mode: 'index',
intersect: false
},
hover: {
mode: 'nearest',
intersect: true
},
onComplete: () => {
delayed = true;
},
scales: {
x: {
type: 'time',
tooltipFormat: "DD-MM-YYYY",
distribution: 'linear',
time: {
displayFormats: {
'week': 'D MMM',
'month': 'DD MMM YY',
'quarter': 'MMM YY',
'year': 'MMM YY'
},
unit: "day",
stepSize: "1"
},
ticks: {
source: 'auto'
},
grid: {
display: false
}
},
y: {
grid: {
display: false
}
}
},
plugins: {
legend: {
display: false
},
title: {
display: true,
text: 'Price History Chart'
},
tooltip: {
enabled: true,
position: 'nearest',
mode: 'index',
intersect: false,
callbacks: {
title: TooltipTitle,
label: TooltipText
}
},
zoom: {
limits: {
x: {},
y: {}
},
pan: {
enabled: true,
mode: 'x',
rangeMin: {
x: null
},
rangeMax: {
x: null
}
},
zoom: {
wheel: {
enabled: true
},
pinch: {
enabled: true
},
drag: {
enabled: true
},
mode: 'x',
rangeMin: {
x: null
},
rangeMax: {
x: null
},
onZoomComplete({
chart
}) {
chart.update('none');
}
}
}
}
};
var ChartConfigs = {
type: 'line',
animationEnabled: true,
zoomEnabled: true,
title: {
text: "Timeline"
},
axisX: {
title: "Datetime"
},
axisY: {
title: "Price (in INR)",
valueFormatString: "\u20B9#"
},
data: {
datasets: []
},
options: {}
};
var chart;
var canvas = document.getElementById('price-history-graph').getContext("2d");
function ResetZoom() {
chart.resetZoom();
}
function toggleFullscreen() {
document.body.classList.toggle("fullscreen-mode");
}
function exitFullscreen() {
const overlay = document.getElementById('fullscreen-overlay');
if (overlay) overlay.style.display = 'none';
}
function downloadChart() {
const link = document.createElement('a');
link.download = '-idpricesymbol-input-typehidden-namepricevalue-idpricevalue-input-price-history-chart.png';
link.href = chart.canvas.toDataURL();
link.click();
}
function UpdatePrices(Prices) {
let flag = false;
if ("History" in Prices) {
let ChartDataSets = [];
if (Prices.History != null && Array.isArray(Prices.History) && Prices.History.length > 0) {
if (Prices.History.length == 1) {
ChartDataSets.push({
type: "line",
label: "Prices",
data: Prices.History,
borderJoinStyle: "round",
pointRadius: 2,
fill: true,
backgroundColor: '#660066',
borderColor: '#660066'
});
} else {
ChartDataSets.push({
type: "line",
label: "Prices",
data: Prices.History,
borderJoinStyle: "round",
pointRadius: 0,
borderWidth: 1,
fill: true,
backgroundColor: '#CC99CC77',
borderColor: '#660066'
});
}
flag = true;
}
if (flag && ChartDataSets.length > 0) {
let start_date = new Date(Prices.History[0].x);
let end_date = new Date(Prices.History[Prices.History.length - 1].x);
let range_min = new Date(Prices.History[0].x);
let range_max = new Date(Prices.History[Prices.History.length - 1].x);
ChartOptions.scales.x.min = start_date.toDateString();
ChartOptions.scales.x.max = end_date.toDateString();
EnabledLimits.MaxStamp = end_date.getTime();
EnabledLimits.MinStamp = start_date.getTime();
ChartOptions.plugins.zoom.pan.rangeMin.x = range_min;
ChartOptions.plugins.zoom.zoom.rangeMin.x = range_min;
ChartOptions.plugins.zoom.limits.x.min = range_min;
ChartOptions.plugins.zoom.pan.rangeMax.x = range_max;
ChartOptions.plugins.zoom.zoom.rangeMax.x = range_max;
ChartOptions.plugins.zoom.limits.x.max = range_max;
if ("Price" in Prices && "MinPrice" in Prices.Price && Prices.Price.MinPrice) {
ChartOptions.plugins.zoom.pan.rangeMin.y = parseInt(Prices.Price.MinPrice - ((Prices.Price.MinPrice * 10) / 100));
ChartOptions.plugins.zoom.zoom.rangeMin.y = parseInt(Prices.Price.MinPrice - ((Prices.Price.MinPrice * 10) / 100));
ChartOptions.plugins.zoom.limits.y.min = parseInt(Prices.Price.MinPrice - ((Prices.Price.MinPrice * 10) / 100));
}
if ("Price" in Prices && "MaxPrice" in Prices.Price && Prices.Price.MaxPrice) {
ChartOptions.plugins.zoom.pan.rangeMax.y = parseInt(Prices.Price.MaxPrice + ((Prices.Price.MaxPrice * 10) / 100));
ChartOptions.plugins.zoom.zoom.rangeMax.y = parseInt(Prices.Price.MaxPrice + ((Prices.Price.MaxPrice * 10) / 100));
ChartOptions.plugins.zoom.limits.y.max = parseInt(Prices.Price.MaxPrice + ((Prices.Price.MaxPrice * 10) / 100));
}
ChartConfigs.options = ChartOptions;
ChartConfigs.data.datasets = ChartDataSets;
document.getElementById("Chart-Text").style.display = "none";
setTimeout(() => {
try {
chart = new Chart(canvas, ChartConfigs);
setTimeout(() => {
UpdateEnabled();
PageSection = document.querySelectorAll('.ph-section');
}, 1000);
} catch (error) {}
}, 500);
}
}
}
function FetchPrices() {
fetch("https://price-history.in/api/price/UFLEanmb", {
method: "post",
headers: FetchHeaders
})
.then((response) => {
if (response.status == 401) {
location.reload();
} else return response.json();
})
.then((prices) => {
setTimeout(() => {
UpdatePrices(prices);
}, 1000);
document.getElementById("Chart-Text").style.display = "none";
})
.catch((err) => {
document.getElementById("price-history-graph").style.display = "none !important";
document.getElementById("Chart-Text").innerHTML = "Something went wrong,
Please Try Again later!";
setTimeout(() => {
PageSection = document.querySelectorAll('.ph-section');
}, 500);
});
}
document.addEventListener("DOMContentLoaded", function(event) {
setTimeout(() => {
UpdatePrices(JSON.parse('{"Code":"UFLEanmb","History":[{"y":699,"x":"2024-09-08 04:56:23"},{"y":699,"x":"2024-09-19 17:19:42"},{"y":699,"x":"2024-09-24 22:42:32"},{"y":699,"x":"2024-09-28 20:21:05"},{"y":699,"x":"2024-10-06 15:46:41"},{"y":699,"x":"2024-10-16 13:59:35"},{"y":699,"x":"2024-10-20 10:00:59"},{"y":699,"x":"2024-10-28 07:58:02"},{"y":699,"x":"2024-10-31 11:47:12"},{"y":699,"x":"2024-11-05 19:48:11"},{"y":2451.89,"x":"2024-11-10 20:40:56"},{"y":3331.99,"x":"2024-11-18 20:11:18"},{"y":2918.44,"x":"2024-11-23 05:46:21"},{"y":2925.31,"x":"2024-12-03 23:37:24"},{"y":3338.71,"x":"2024-12-09 01:17:33"},{"y":2904.31,"x":"2024-12-17 06:45:37"},{"y":2904.31,"x":"2024-12-23 02:02:53"},{"y":2904.31,"x":"2025-01-01 21:20:55"},{"y":2904.31,"x":"2025-01-08 10:07:18"},{"y":4116,"x":"2025-03-18 11:26:18"},{"y":4116,"x":"2025-03-22 05:57:21"},{"y":4070,"x":"2025-03-26 02:38:19"},{"y":4070,"x":"2025-03-29 20:02:33"},{"y":7717.7,"x":"2025-04-04 06:56:15"},{"y":4539,"x":"2025-04-09 14:16:08"},{"y":4539,"x":"2025-04-14 14:03:56"},{"y":2171,"x":"2025-04-23 15:48:18"},{"y":2329,"x":"2025-04-25 12:36:00"},{"y":2334,"x":"2025-04-27 16:56:00"},{"y":2651,"x":"2025-04-28 19:08:00"},{"y":2644,"x":"2025-04-30 23:24:00"},{"y":2629,"x":"2025-05-03 03:40:00"},{"y":2624,"x":"2025-05-05 08:12:00"},{"y":2615,"x":"2025-05-06 20:00:00"},{"y":2853,"x":"2025-05-15 20:59:27"},{"y":2539,"x":"2025-05-24 04:39:39"},{"y":2367,"x":"2025-05-28 06:56:30"},{"y":2856,"x":"2025-06-02 01:33:53"},{"y":2867,"x":"2025-06-06 15:58:16"},{"y":2862,"x":"2025-06-11 06:02:54"},{"y":2876,"x":"2025-06-17 00:04:07"},{"y":2571,"x":"2025-06-21 05:05:55"},{"y":2882,"x":"2025-06-25 04:24:54"},{"y":2870,"x":"2025-06-28 23:45:44"},{"y":2860,"x":"2025-07-03 06:04:23"},{"y":2930,"x":"2025-07-09 02:00:11"},{"y":2941,"x":"2025-07-14 08:03:45"},{"y":2943,"x":"2025-07-18 16:50:49"},{"y":2952,"x":"2025-07-22 09:15:08"},{"y":2435,"x":"2025-07-26 08:55:10"},{"y":2452,"x":"2025-07-31 06:13:40"},{"y":2470,"x":"2025-08-03 22:24:08"},{"y":2470,"x":"2025-08-07 08:46:31"},{"y":2997,"x":"2025-08-10 18:14:48"},{"y":2987,"x":"2025-08-15 04:22:48"},{"y":2990,"x":"2025-08-19 20:48:24"},{"y":2916,"x":"2025-08-25 13:55:50"},{"y":2598,"x":"2025-08-29 08:03:45"},{"y":2608,"x":"2025-09-03 04:22:08"},{"y":3252,"x":"2025-09-10 02:34:45"},{"y":3220,"x":"2025-09-14 20:50:13"},{"y":3207,"x":"2025-09-19 08:21:04"},{"y":3214,"x":"2025-09-23 15:37:12"},{"y":3238,"x":"2025-09-26 12:03:51"},{"y":3827.88,"x":"2025-10-01 10:27:25"},{"y":3263,"x":"2025-10-08 21:45:37"},{"y":3263,"x":"2025-10-12 22:03:47"},{"y":3263,"x":"2025-10-18 11:10:36"},{"y":3263,"x":"2025-10-22 12:56:53"},{"y":3263,"x":"2025-10-27 07:37:24"},{"y":3265,"x":"2025-11-02 20:40:49"},{"y":3299,"x":"2025-11-09 23:57:01"},{"y":3304,"x":"2025-11-17 22:48:07"},{"y":3304,"x":"2025-11-21 19:56:04"},{"y":3339,"x":"2025-11-25 23:34:56"},{"y":3418,"x":"2025-11-30 05:17:09"},{"y":3419,"x":"2025-12-04 22:14:20"},{"y":3499,"x":"2025-12-09 02:09:51"},{"y":3522,"x":"2025-12-14 02:25:02"},{"y":3484,"x":"2025-12-21 17:31:32"},{"y":3307,"x":"2025-12-25 20:50:42"},{"y":3320,"x":"2025-12-29 22:23:10"},{"y":3327,"x":"2026-01-06 17:41:11"},{"y":3530,"x":"2026-01-18 05:05:03"},{"y":3586,"x":"2026-01-21 19:24:14"},{"y":3587,"x":"2026-01-27 05:57:22"},{"y":3591,"x":"2026-02-01 20:36:18"},{"y":3547,"x":"2026-02-08 21:00:06"},{"y":3547,"x":"2026-02-15 07:32:59"},{"y":3379,"x":"2026-02-20 08:57:28"},{"y":3386,"x":"2026-02-25 15:42:55"},{"y":3389,"x":"2026-03-02 01:57:45"},{"y":3601,"x":"2026-03-07 23:09:25"},{"y":3627,"x":"2026-03-15 00:22:16"},{"y":3645,"x":"2026-03-21 07:07:25"},{"y":3715,"x":"2026-03-29 22:24:32"},{"y":3715,"x":"2026-03-29 22:24:32"}],"Price":{"Price":3715,"MRP":1299,"MinPrice":699,"MinPriceOn":"2024-09-08 04:56:23","MaxPrice":7717.7,"MaxPriceOn":"2025-04-04 06:56:15","TotalPrice":282119.28,"Count":96,"LastPrice":3715,"DailyPrice":166685851,"OfferPrice":3715,"UpdatedOn":"2026-03-29 22:24:32","MinOfferPrice":699,"MinOfferPriceOn":"2024-09-08 04:56:23"}}'));
}, 500);
});
function refreshPrice() {
let ResponseBlock = document.getElementById("refresh-price-response");
fetch("https://price-history.in/api/report/refresh/UFLEanmb", {
method: "post",
headers: FetchHeaders,
body: JSON.stringify({})
})
.then((response) => {
if (response.status == 401) {
location.reload();
} else return response.json();
})
.then((response) => {
ResponseBlock.innerHTML = "Your request received. New Price will be updated Soon";
ResponseBlock.classList.remove("d-none");
})
.catch((err) => {
ResponseBlock.classList.remove("d-none");
ResponseBlock.innerHTML = "Sorry, Something Went Wrong!";
});
}
Similar Products
Product Details
Product Code
B086BSLG2W
Market Place
amazon.in
Store
Amazon
Rating
4.6 (1297 ratings)
Category
Mouse Pads
Manufacturer
Aothia
Model Number
CA-001
Size
31.5" x 15.7"
Country of Origin
USA
Frequently Asked Questions