function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lakshmi K 47lakshmi K 47 

Displaying Timezone in high charts based on login user

Hi,
Please help me I have stuck one of the tasks .I have generated few custom charts using high charts .com. Here my issue is I want to display the date time accordingly when ever user logins from IST timings the data should display same as PST users whenever logins 

For example : I have selected from date as 11sep and to date as 11sep . 

The charts should start the date with 11th sep for ist zone

In the same way 
The charts should start the date with 11th sep for pst  zone

Kindly please help me .It's urgent
RD@SFRD@SF
Hi Lakshmi,

Here's a link (https://help.salesforce.com/articleView?id=000126968&type=1)which might help you.

Hope it helps
RD
lakshmi K 47lakshmi K 47
Hi Deepak,

Thanks for sharing.I have used the same  controller is working fine I am able to see the values in debug logs But only problem is  iam unable to display the same values  frontend on  visual force page we are displaying the same values on x-axis

Highcharts.setOptions({
    global: {
        timezoneOffset: -5 *60,
       
        useUTC: true,
        
}
when i have kept above offset it is working  fine for IST but  it is not working on PST

Could you please suggest me

Thanks
 
Laxman Samala 6Laxman Samala 6
Hi Lakshmi,
     can you make sure your charts are rerendering when the values change?