Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
Index.cshtml
<div id="container">
@Html.EJS().Chart("container")
// other chart customization
.Load("load").Render()
</div>
<script>
function load(args) {
args.chart.primaryXAxis.labelIntersectAction = ej.base.Browser.isDevice ? 'Hide' : 'None';
args.chart.primaryYAxis.labelIntersectAction = ej.base.Browser.isDevice ? 'Hide' : 'None';
}
</script> |
@Html.EJS().Chart("container")
//Other configurations
.Load("load").Render()
function load(args) {
args.chart.legendSettings.width = ej.base.Browser.isDevice ? "50%" : "100%";
args.chart.legendSettings.height = ej.base.Browser.isDevice ? "50%" : "100%";
}
|