HEX
Server: LiteSpeed
System: Linux server111.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: lacammxy (848)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //home/lacammxy/www/new/admin/assets/vendor/morris/custom/negativeValues.js
// Morris Negative values
var neg_data = [
	{ period: "2023-02-12", a: 100 },
	{ period: "2023-01-03", a: 75 },
	{ period: "2022-08-08", a: 50 },
	{ period: "2022-05-10", a: 25 },
	{ period: "2022-03-14", a: 0 },
	{ period: "2022-01-10", a: -25 },
	{ period: "2021-12-10", a: -50 },
	{ period: "2021-10-07", a: -75 },
	{ period: "2021-09-25", a: -100 },
];
Morris.Line({
	element: "negativeValues",
	data: neg_data,
	xkey: "period",
	ykeys: ["a"],
	labels: ["Series A"],
	units: "%",
	resize: true,
	hideHover: "auto",
	gridLineColor: "#cccccc",
	pointFillColors: ["#ffffff"],
	pointStrokeColors: [
		"#493f94",
		"#5247a7",
		"#5b4fb9",
		"#6b61c0",
		"#7c72c7",
		"#8c84ce",
		"#9d95d5",
		"#ada7dc",
		"#bdb9e3",
		"#cecaea",
	],
	lineColors: [
		"#493f94",
		"#5247a7",
		"#5b4fb9",
		"#6b61c0",
		"#7c72c7",
		"#8c84ce",
		"#9d95d5",
		"#ada7dc",
		"#bdb9e3",
		"#cecaea",
	],
});