i m using admin lte bar chart ,in which points on bottom are very long,so i wnat to only first 4 charater of points below,but on mouseover want to show full point.
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
new Chart(document.getElementById("bar-chart"), {
type: 'bar',
data: {
labels: [remark1, remark2, remark3, remark4, remark5, remark6, remark7, remark8, remark9, remark10],
datasets: [
{
label: "Points",
backgroundColor: ["#3e95cd", "#8e5ea2", "#3cba9f", "#e8c3b9", "#c45850", "#3e95cd", "#8e5ea2", "#3cba9f", "#e8c3b9", "#c45850"],
data: [point1, point2, point3, point4, point5, point6, point7, point8, point9, point10]
}
]
},
options: {
legend: { display: false },
title: {
display: true,
text: title
}
}
});
<canvas id="bar-chart" width="1000" height="500"></canvas>
my remarks are like remarks1 = my project details of class7 to 8