Point Customization
You can customize points by initializing the point colors. The customization options allow you to differentiate the first,last,highest,lowest and negative value points. This customization only applicable for line, column and area type Sparkline.
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" ng-app="SparklineApp">
<head>
<title>Essential Studio for AngularJS: Sparkline</title>
<!--CSS and Script file References -->
</head>
<body ng-controller="SparkCtrl">
<div id="container" >
<ej-sparkline e-type="column" e-negativePointColor="red" e-highPointColor = "blue"
e-lowPointColor = "orange" e-startPointColor = "green" e-endPointColor ="green">
</ej-sparkline>
</div>
<script>
angular.module('SparkApp', ['ejangular'])
.controller('SparkCtrl', function ($scope) {
});
</script>
</body>
</html>
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page