Home > Pooja Shinde

Format of data from controller to set different colors for each column in highcharts

If there is case where it is necessary to distinguish data based on color e.g if data is below specified number it should be in red color and above it in green color. In that case data to the highcharts should be with color code. [crayon-672eccbf06a8a318312001/] In method getColor1(int a), you can

This Article is TAGGED in , . Read more

Auto refresh charts using highcharts.js

Highcharts is a pure JavaScript based charting library meant to enhance web applications by adding interactive charting capability. Highcharts provides a wide variety of charts. For example, line charts, spline charts, area charts, bar charts, pie charts and so on. So there may be need of drawing chart with updated

This Article is TAGGED in , , . Read more

How to get client machine datetime with local timezone offset value

This article will help to understand how to get  client machine's datetime with local timezone offset value. Use javascript method getTimezoneOffset() and assign it's value to hidden field in .cshtml file as shown in below code. Then pass this value to mvc controller. [crayon-672eccbf06dae605842349/] In the above code, variable offset will have the

This Article is TAGGED in , . Read more