Synchronized Charts in React Chart component

19 Sep 202424 minutes to read

Tooltip synchronization

The tooltip can be synchronized across multiple charts using the showTooltip and hideTooltip methods. When we hover over a data point in one chart, we call the showTooltip method for the other charts to display related information in other connected charts simultaneously.

In the showTooltip method, specify the following parameters programmatically to enable tooltip for a particular chart:

  • x - Data point x-value or x-coordinate value.
  • y - Data point y-value or y-coordinate value.
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Chart, AreaSeries, LineSeries, DateTime, Tooltip, IMouseEventArgs, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import { Browser } from '@syncfusion/ej2-base';

function App() {
  let chart1;
  let chart2;

  let chart1MouseLeave = (args) => {
    chart2.hideTooltip();
  };

  let chart1MouseMove = (args) => {
    if ((!Browser.isDevice && !chart1.isTouch && !chart1.isChartDrag) || chart1.startMove) {
      chart2.startMove = chart1.startMove;
      chart2.showTooltip(args.x, args.y);
    }
  };

  let chart1MouseUp = (args) => {
    if (Browser.isDevice && chart1.startMove) {
      chart2.hideTooltip();
    }
  };

  let chart2MouseLeave = (args) => {
    chart1.hideTooltip();
  };

  let chart2MouseMove = (args) => {
    if ((!Browser.isDevice && !chart2.isTouch && !chart2.isChartDrag) || chart2.startMove) {
      chart1.startMove = chart2.startMove;
      chart1.showTooltip(args.x, args.y);
    }
  };
  let chart2MouseUp = (args) => {
    if (Browser.isDevice && chart2.startMove) {
      chart1.hideTooltip();
    }
  };
    return <div className="control-section">
    <div className="row">
      <div className="col">
        <ChartComponent
          id="container1"
          ref={chart => chart1 = chart}
          primaryXAxis={{
            minimum: new Date(2023, 1, 18),
            maximum: new Date(2023, 7, 18),
            valueType: 'DateTime',
            labelFormat: 'MMM d',
            lineStyle: { width: 0 },
            majorGridLines: { width: 0 },
            edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
            labelRotation: Browser.isDevice ? -45 : 0,
            interval: Browser.isDevice ? 2 : 1
          }}
          primaryYAxis={{
            labelFormat: 'n2',
            majorTickLines: { width: 0 },
            lineStyle: { width: 0 },
            minimum: 0.86,
            maximum: 0.96,
            interval: 0.025
          }}
          chartArea={{ border: { width: 0 } }}
          chartMouseLeave={chart1MouseLeave.bind(this)}
          chartMouseMove={chart1MouseMove.bind(this)}
          chartMouseUp={chart1MouseUp.bind(this)}
          titleStyle={{ textAlignment: 'Near' }}
          tooltip={{ enable: true, fadeOutDuration: Browser.isDevice ? 2500 : 1000, shared: true, header: '', format: '<b>€${point.y}</b><br>${point.x} 2023', enableMarker: false }}
          title="US to Euro">
          <Inject services={[LineSeries, DateTime, Tooltip]} />
          <SeriesCollectionDirective>
            <SeriesDirective type="Line" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
          </SeriesCollectionDirective>
        </ChartComponent>
      </div>
      <div className="col">
        <ChartComponent
          id="container2"
          ref={chart => chart2 = chart}         
          primaryXAxis={{
            minimum: new Date(2023, 1, 18),
            maximum: new Date(2023, 7, 18),
            valueType: 'DateTime',
            labelFormat: 'MMM d',
            lineStyle: { width: 0 },
            majorGridLines: { width: 0 },
            edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
            labelRotation: Browser.isDevice ? -45 : 0,
            interval: Browser.isDevice ? 2 : 1
          }}
          primaryYAxis={{
            labelFormat: 'n1',
            majorTickLines: { width: 0 },
            lineStyle: { width: 0 },
            minimum: 79,
            maximum: 85,
            interval: 1.5
          }}
          chartArea={{ border: { width: 0 } }}
          chartMouseLeave={chart2MouseLeave.bind(this)}
          chartMouseMove={chart2MouseMove.bind(this)}
          chartMouseUp={chart2MouseUp.bind(this)}
          titleStyle={{ textAlignment: 'Near' }}
          tooltip={{ enable: true, fadeOutDuration: Browser.isDevice ? 2500 : 1000, shared: true, header: '', format: '<b>₹${point.y}</b><br>${point.x} 2023', enableMarker: false }}
          title="US to INR">
          <Inject services={[AreaSeries, DateTime, Tooltip]} />
          <SeriesCollectionDirective>
            <SeriesDirective type="Area" dataSource={synchronizedData} xName="USD" yName="INR" opacity={0.6} width={2} border={{ width: 2 }}></SeriesDirective>
          </SeriesCollectionDirective>
        </ChartComponent>
      </div>
    </div>
  </div>
}
;
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Chart, AreaSeries, LineSeries, DateTime, Tooltip, IMouseEventArgs, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import { Browser } from '@syncfusion/ej2-base';

function App() {

  let chart1: ChartComponent;
  let chart2: ChartComponent;

  let chart1MouseLeave = (args: IMouseEventArgs): void => {
    chart2.hideTooltip();
  };

  let chart1MouseMove = (args: IMouseEventArgs): void => {
    if ((!Browser.isDevice && !chart1.isTouch && !chart1.isChartDrag) || chart1.startMove) {
      chart2.startMove = chart1.startMove;
      chart2.showTooltip(args.x, args.y);
    }
  };

  let chart1MouseUp = (args: IMouseEventArgs): void => {
    if (Browser.isDevice && chart1.startMove) {
      chart2.hideTooltip();
    }
  };

  let chart2MouseLeave = (args: IMouseEventArgs): void => {
    chart1.hideTooltip();
  };

  let chart2MouseMove = (args: IMouseEventArgs): void => {
    if ((!Browser.isDevice && !chart2.isTouch && !chart2.isChartDrag) || chart2.startMove) {
      chart1.startMove = chart2.startMove;
      chart1.showTooltip(args.x, args.y);
    }
  };

  let chart2MouseUp = (args: IMouseEventArgs): void => {
    if (Browser.isDevice && chart2.startMove) {
      chart1.hideTooltip();
    }
  }

  return <div className="control-section">
    <div className="row">
      <div className="col">
        <ChartComponent
          id="container1"
          ref={chart => chart1 = chart}
          primaryXAxis={{
            minimum: new Date(2023, 1, 18),
            maximum: new Date(2023, 7, 18),
            valueType: 'DateTime',
            labelFormat: 'MMM d',
            lineStyle: { width: 0 },
            majorGridLines: { width: 0 },
            edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
            labelRotation: Browser.isDevice ? -45 : 0,
            interval: Browser.isDevice ? 2 : 1
          }}
          primaryYAxis={{
            labelFormat: 'n2',
            majorTickLines: { width: 0 },
            lineStyle: { width: 0 },
            minimum: 0.86,
            maximum: 0.96,
            interval: 0.025
          }}
          chartArea={{ border: { width: 0 } }}
          chartMouseLeave={chart1MouseLeave.bind(this)}
          chartMouseMove={chart1MouseMove.bind(this)}
          chartMouseUp={chart1MouseUp.bind(this)}
          titleStyle={{ textAlignment: 'Near' }}
          tooltip={{ enable: true, fadeOutDuration: Browser.isDevice ? 2500 : 1000, shared: true, header: '', format: '<b>€${point.y}</b><br>${point.x} 2023', enableMarker: false }}
          title="US to Euro">
          <Inject services={[LineSeries, DateTime, Tooltip]} />
          <SeriesCollectionDirective>
            <SeriesDirective type="Line" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
          </SeriesCollectionDirective>
        </ChartComponent>
      </div>
      <div className="col">
        <ChartComponent
          id="container2"
          ref={chart => chart2 = chart}         
          primaryXAxis={{
            minimum: new Date(2023, 1, 18),
            maximum: new Date(2023, 7, 18),
            valueType: 'DateTime',
            labelFormat: 'MMM d',
            lineStyle: { width: 0 },
            majorGridLines: { width: 0 },
            edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
            labelRotation: Browser.isDevice ? -45 : 0,
            interval: Browser.isDevice ? 2 : 1
          }}
          primaryYAxis={{
            labelFormat: 'n1',
            majorTickLines: { width: 0 },
            lineStyle: { width: 0 },
            minimum: 79,
            maximum: 85,
            interval: 1.5
          }}
          chartArea={{ border: { width: 0 } }}
          chartMouseLeave={chart2MouseLeave.bind(this)}
          chartMouseMove={chart2MouseMove.bind(this)}
          chartMouseUp={chart2MouseUp.bind(this)}
          titleStyle={{ textAlignment: 'Near' }}
          tooltip={{ enable: true, fadeOutDuration: Browser.isDevice ? 2500 : 1000, shared: true, header: '', format: '<b>₹${point.y}</b><br>${point.x} 2023', enableMarker: false }}
          title="US to INR">
          <Inject services={[AreaSeries, DateTime, Tooltip]} />
          <SeriesCollectionDirective>
            <SeriesDirective type="Area" dataSource={synchronizedData} xName="USD" yName="INR" opacity={0.6} width={2} border={{ width: 2 }}></SeriesDirective>
          </SeriesCollectionDirective>
        </ChartComponent>
      </div>
    </div>
  </div>
};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
export let synchronizedData = [
    {
        USD: new Date('2023-02-18'),
        EUR: 0.93316,
        JPY: 134.10,
        SGD: 1.3370,
        INR: 82.814
    },
    {
        USD: new Date('2023-02-19'),
        EUR: 0.93591,
        JPY: 134.31,
        SGD: 1.3371,
        INR: 82.773
    },
    {
        USD: new Date('2023-02-20'),
        EUR: 0.93604,
        JPY: 134.32,
        SGD: 1.3359,
        INR: 82.721
    },
    {
        USD: new Date('2023-02-21'),
        EUR: 0.93881,
        JPY: 134.97,
        SGD: 1.3402,
        INR: 82.899
    },
    {
        USD: new Date('2023-02-22'),
        EUR: 0.94289,
        JPY: 134.93,
        SGD: 1.3408,
        INR: 82.843
    },
    {
        USD: new Date('2023-02-23'),
        EUR: 0.94358,
        JPY: 134.63,
        SGD: 1.3428,
        INR: 82.636
    },
    {
        USD: new Date('2023-02-24'),
        EUR: 0.94473,
        JPY: 136.47,
        SGD: 1.3500,
        INR: 82.933
    },
    {
        USD: new Date('2023-02-25'),
        EUR: 0.94584,
        JPY: 136.48,
        SGD: 1.3499,
        INR: 82.929
    },
    {
        USD: new Date('2023-02-26'),
        EUR: 0.94745,
        JPY: 136.40,
        SGD: 1.3498,
        INR: 82.928
    },
    {
        USD: new Date('2023-02-27'),
        EUR: 0.94262,
        JPY: 136.32,
        SGD: 1.3469,
        INR: 82.673
    },
    {
        USD: new Date('2023-02-28'),
        EUR: 0.94548,
        JPY: 136.35,
        SGD: 1.3484,
        INR: 82.641
    },
    {
        USD: new Date('2023-03-01'),
        EUR: 0.93722,
        JPY: 136.20,
        SGD: 1.3420,
        INR: 82.418
    },
    {
        USD: new Date('2023-03-02'),
        EUR: 0.94344,
        JPY: 136.70,
        SGD: 1.3473,
        INR: 82.349
    },
    {
        USD: new Date('2023-03-03'),
        EUR: 0.93901,
        JPY: 135.85,
        SGD: 1.3452,
        INR: 81.712
    },
    {
        USD: new Date('2023-03-04'),
        EUR: 0.93968,
        JPY: 135.84,
        SGD: 1.3452,
        INR: 81.713
    },
    {
        USD: new Date('2023-03-05'),
        EUR: 0.94106,
        JPY: 136.02,
        SGD: 1.3455,
        INR: 81.742
    },
    {
        USD: new Date('2023-03-06'),
        EUR: 0.93573,
        JPY: 135.99,
        SGD: 1.3451,
        INR: 81.858
    },
    {
        USD: new Date('2023-03-07'),
        EUR: 0.94792,
        JPY: 137.38,
        SGD: 1.3544,
        INR: 82.072
    },
    {
        USD: new Date('2023-03-08'),
        EUR: 0.94793,
        JPY: 137.24,
        SGD: 1.3533,
        INR: 81.960
    },
    {
        USD: new Date('2023-03-09'),
        EUR: 0.94480,
        JPY: 136.41,
        SGD: 1.3532,
        INR: 82.011
    },
    {
        USD: new Date('2023-03-10'),
        EUR: 0.93842,
        JPY: 135.00,
        SGD: 1.3488,
        INR: 82.018
    },
    {
        USD: new Date('2023-03-11'),
        EUR: 0.93926,
        JPY: 134.99,
        SGD: 1.3489,
        INR: 81.966
    },
    {
        USD: new Date('2023-03-12'),
        EUR: 0.93600,
        JPY: 134.98,
        SGD: 1.3475,
        INR: 82.019
    },
    {
        USD: new Date('2023-03-13'),
        EUR: 0.93246,
        JPY: 133.12,
        SGD: 1.3474,
        INR: 82.422
    },
    {
        USD: new Date('2023-03-14'),
        EUR: 0.93219,
        JPY: 134.40,
        SGD: 1.3452,
        INR: 82.309
    },
    {
        USD: new Date('2023-03-15'),
        EUR: 0.94490,
        JPY: 132.94,
        SGD: 1.3512,
        INR: 82.713
    },
    {
        USD: new Date('2023-03-16'),
        EUR: 0.94220,
        JPY: 133.38,
        SGD: 1.3461,
        INR: 82.642
    },
    {
        USD: new Date('2023-03-17'),
        EUR: 0.93006,
        JPY: 131.84,
        SGD: 1.3416,
        INR: 82.531
    },
    {
        USD: new Date('2023-03-18'),
        EUR: 0.92806,
        JPY: 131.85,
        SGD: 1.3415,
        INR: 82.536
    },
    {
        USD: new Date('2023-03-19'),
        EUR: 0.93648,
        JPY: 132.29,
        SGD: 1.3406,
        INR: 82.544
    },
    {
        USD: new Date('2023-03-20'),
        EUR: 0.93295,
        JPY: 131.40,
        SGD: 1.3377,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-21'),
        EUR: 0.92817,
        JPY: 132.36,
        SGD: 1.3370,
        INR: 82.663
    },
    {
        USD: new Date('2023-03-22'),
        EUR: 0.92003,
        JPY: 131.18,
        SGD: 1.3297,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-23'),
        EUR: 0.92290,
        JPY: 130.80,
        SGD: 1.3278,
        INR: 82.253
    },
    {
        USD: new Date('2023-03-24'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-25'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-26'),
        EUR: 0.92789,
        JPY: 130.79,
        SGD: 1.3316,
        INR: 82.348
    },
    {
        USD: new Date('2023-03-27'),
        EUR: 0.92601,
        JPY: 131.48,
        SGD: 1.3312,
        INR: 82.240
    },
    {
        USD: new Date('2023-03-28'),
        EUR: 0.92242,
        JPY: 130.85,
        SGD: 1.3277,
        INR: 82.164
    },
    {
        USD: new Date('2023-03-29'),
        EUR: 0.92205,
        JPY: 132.66,
        SGD: 1.3292,
        INR: 82.246
    },
    {
        USD: new Date('2023-03-30'),
        EUR: 0.91709,
        JPY: 132.81,
        SGD: 1.3276,
        INR: 82.103
    },
    {
        USD: new Date('2023-03-31'),
        EUR: 0.92020,
        JPY: 132.78,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-01'),
        EUR: 0.92021,
        JPY: 132.77,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-02'),
        EUR: 0.92422,
        JPY: 133.26,
        SGD: 1.3328,
        INR: 82.201
    },
    {
        USD: new Date('2023-04-03'),
        EUR: 0.91706,
        JPY: 132.34,
        SGD: 1.3269,
        INR: 82.147
    },
    {
        USD: new Date('2023-04-04'),
        EUR: 0.91257,
        JPY: 131.68,
        SGD: 1.3255,
        INR: 82.138
    },
    {
        USD: new Date('2023-04-05'),
        EUR: 0.91665,
        JPY: 131.12,
        SGD: 1.3281,
        INR: 81.960
    },
    {
        USD: new Date('2023-04-06'),
        EUR: 0.91605,
        JPY: 131.84,
        SGD: 1.3306,
        INR: 81.825
    },
    {
        USD: new Date('2023-04-07'),
        EUR: 0.90949,
        JPY: 132.15,
        SGD: 1.3321,
        INR: 81.875
    },
    {
        USD: new Date('2023-04-08'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-09'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-10'),
        EUR: 0.92040,
        JPY: 133.54,
        SGD: 1.3324,
        INR: 81.977
    },
    {
        USD: new Date('2023-04-11'),
        EUR: 0.91601,
        JPY: 133.62,
        SGD: 1.3324,
        INR: 82.079
    },
    {
        USD: new Date('2023-04-12'),
        EUR: 0.90951,
        JPY: 133.07,
        SGD: 1.3279,
        INR: 81.951
    },
    {
        USD: new Date('2023-04-13'),
        EUR: 0.90513,
        JPY: 132.59,
        SGD: 1.3222,
        INR: 81.691
    },
    {
        USD: new Date('2023-04-14'),
        EUR: 0.90139,
        JPY: 133.83,
        SGD: 1.3303,
        INR: 81.852
    },
    {
        USD: new Date('2023-04-15'),
        EUR: 0.90067,
        JPY: 133.81,
        SGD: 1.3304,
        INR: 81.842
    },
    {
        USD: new Date('2023-04-16'),
        EUR: 0.91013,
        JPY: 133.91,
        SGD: 1.3311,
        INR: 81.857
    },
    {
        USD: new Date('2023-04-17'),
        EUR: 0.91539,
        JPY: 134.46,
        SGD: 1.3342,
        INR: 82.004
    },
    {
        USD: new Date('2023-04-18'),
        EUR: 0.91132,
        JPY: 134.05,
        SGD: 1.3325,
        INR: 82.107
    },
    {
        USD: new Date('2023-04-19'),
        EUR: 0.91297,
        JPY: 134.73,
        SGD: 1.3349,
        INR: 82.334
    },
    {
        USD: new Date('2023-04-20'),
        EUR: 0.91182,
        JPY: 134.18,
        SGD: 1.3326,
        INR: 82.153
    },
    {
        USD: new Date('2023-04-21'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-22'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-23'),
        EUR: 0.90977,
        JPY: 134.09,
        SGD: 1.3341,
        INR: 82.036
    },
    {
        USD: new Date('2023-04-24'),
        EUR: 0.90489,
        JPY: 134.12,
        SGD: 1.3334,
        INR: 81.855
    },
    {
        USD: new Date('2023-04-25'),
        EUR: 0.91085,
        JPY: 133.72,
        SGD: 1.3380,
        INR: 81.978
    },
    {
        USD: new Date('2023-04-26'),
        EUR: 0.90584,
        JPY: 133.58,
        SGD: 1.3354,
        INR: 81.748
    },
    {
        USD: new Date('2023-04-27'),
        EUR: 0.90684,
        JPY: 133.90,
        SGD: 1.3351,
        INR: 81.716
    },
    {
        USD: new Date('2023-04-28'),
        EUR: 0.89872,
        JPY: 136.31,
        SGD: 1.3355,
        INR: 81.745
    },
    {
        USD: new Date('2023-04-29'),
        EUR: 0.89861,
        JPY: 136.32,
        SGD: 1.3353,
        INR: 81.742
    },
    {
        USD: new Date('2023-04-30'),
        EUR: 0.90810,
        JPY: 136.24,
        SGD: 1.3349,
        INR: 81.764
    },
    {
        USD: new Date('2023-05-01'),
        EUR: 0.91123,
        JPY: 137.45,
        SGD: 1.3363,
        INR: 81.780
    },
    {
        USD: new Date('2023-05-02'),
        EUR: 0.90859,
        JPY: 136.52,
        SGD: 1.3346,
        INR: 81.770
    },
    {
        USD: new Date('2023-05-03'),
        EUR: 0.90346,
        JPY: 134.61,
        SGD: 1.3303,
        INR: 81.804
    },
    {
        USD: new Date('2023-05-04'),
        EUR: 0.90740,
        JPY: 134.29,
        SGD: 1.3277,
        INR: 81.698
    },
    {
        USD: new Date('2023-05-05'),
        EUR: 0.89849,
        JPY: 134.84,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-06'),
        EUR: 0.89200,
        JPY: 134.83,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-07'),
        EUR: 0.90768,
        JPY: 135.04,
        SGD: 1.3257,
        INR: 81.720
    },
    {
        USD: new Date('2023-05-08'),
        EUR: 0.90893,
        JPY: 135.01,
        SGD: 1.3251,
        INR: 81.787
    },
    {
        USD: new Date('2023-05-09'),
        EUR: 0.91193,
        JPY: 135.20,
        SGD: 1.3271,
        INR: 82.102
    },
    {
        USD: new Date('2023-05-10'),
        EUR: 0.91019,
        JPY: 134.20,
        SGD: 1.3247,
        INR: 81.913
    },
    {
        USD: new Date('2023-05-11'),
        EUR: 0.91601,
        JPY: 134.52,
        SGD: 1.3315,
        INR: 82.094
    },
    {
        USD: new Date('2023-05-12'),
        EUR: 0.91412,
        JPY: 135.75,
        SGD: 1.3388,
        INR: 82.256
    },
    {
        USD: new Date('2023-05-13'),
        EUR: 0.91429,
        JPY: 135.73,
        SGD: 1.3384,
        INR: 82.197
    },
    {
        USD: new Date('2023-05-14'),
        EUR: 0.92153,
        JPY: 135.78,
        SGD: 1.3385,
        INR: 82.228
    },
    {
        USD: new Date('2023-05-15'),
        EUR: 0.91939,
        JPY: 136.02,
        SGD: 1.3362,
        INR: 82.270
    },
    {
        USD: new Date('2023-05-16'),
        EUR: 0.92062,
        JPY: 136.39,
        SGD: 1.3404,
        INR: 82.295
    },
    {
        USD: new Date('2023-05-17'),
        EUR: 0.92249,
        JPY: 137.59,
        SGD: 1.3421,
        INR: 82.458
    },
    {
        USD: new Date('2023-05-18'),
        EUR: 0.92798,
        JPY: 138.65,
        SGD: 1.3478,
        INR: 82.726
    },
    {
        USD: new Date('2023-05-19'),
        EUR: 0.92391,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.842
    },
    {
        USD: new Date('2023-05-20'),
        EUR: 0.92447,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.843
    },
    {
        USD: new Date('2023-05-21'),
        EUR: 0.92428,
        JPY: 137.66,
        SGD: 1.3451,
        INR: 82.883
    },
    {
        USD: new Date('2023-05-22'),
        EUR: 0.92482,
        JPY: 138.57,
        SGD: 1.3464,
        INR: 82.822
    },
    {
        USD: new Date('2023-05-23'),
        EUR: 0.92833,
        JPY: 138.53,
        SGD: 1.3469,
        INR: 82.897
    },
    {
        USD: new Date('2023-05-24'),
        EUR: 0.92982,
        JPY: 139.22,
        SGD: 1.3490,
        INR: 82.705
    },
    {
        USD: new Date('2023-05-25'),
        EUR: 0.93225,
        JPY: 139.94,
        SGD: 1.3544,
        INR: 82.734
    },
    {
        USD: new Date('2023-05-26'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-27'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-28'),
        EUR: 0.93286,
        JPY: 140.78,
        SGD: 1.3530,
        INR: 82.569
    },
    {
        USD: new Date('2023-05-29'),
        EUR: 0.93372,
        JPY: 140.49,
        SGD: 1.3538,
        INR: 82.580
    },
    {
        USD: new Date('2023-05-30'),
        EUR: 0.93174,
        JPY: 139.76,
        SGD: 1.3506,
        INR: 82.682
    },
    {
        USD: new Date('2023-05-31'),
        EUR: 0.93515,
        JPY: 139.18,
        SGD: 1.3514,
        INR: 82.669
    },
    {
        USD: new Date('2023-06-01'),
        EUR: 0.92911,
        JPY: 138.77,
        SGD: 1.3473,
        INR: 82.280
    },
    {
        USD: new Date('2023-06-02'),
        EUR: 0.93342,
        JPY: 139.95,
        SGD: 1.3505,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-03'),
        EUR: 0.93341,
        JPY: 139.96,
        SGD: 1.3504,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-04'),
        EUR: 0.93425,
        JPY: 140.06,
        SGD: 1.3504,
        INR: 82.407
    },
    {
        USD: new Date('2023-06-05'),
        EUR: 0.93341,
        JPY: 139.46,
        SGD: 1.3493,
        INR: 82.506
    },
    {
        USD: new Date('2023-06-06'),
        EUR: 0.93505,
        JPY: 139.61,
        SGD: 1.3483,
        INR: 82.520
    },
    {
        USD: new Date('2023-06-07'),
        EUR: 0.93464,
        JPY: 140.03,
        SGD: 1.3487,
        INR: 82.625
    },
    {
        USD: new Date('2023-06-08'),
        EUR: 0.92739,
        JPY: 138.90,
        SGD: 1.3427,
        INR: 82.481
    },
    {
        USD: new Date('2023-06-09'),
        EUR: 0.93028,
        JPY: 139.40,
        SGD: 1.3441,
        INR: 82.425
    },
    {
        USD: new Date('2023-06-10'),
        EUR: 0.92992,
        JPY: 139.39,
        SGD: 1.3440,
        INR: 82.421
    },
    {
        USD: new Date('2023-06-11'),
        EUR: 0.93066,
        JPY: 139.43,
        SGD: 1.3438,
        INR: 82.435
    },
    {
        USD: new Date('2023-06-12'),
        EUR: 0.92927,
        JPY: 139.56,
        SGD: 1.3435,
        INR: 82.329
    },
    {
        USD: new Date('2023-06-13'),
        EUR: 0.92665,
        JPY: 140.14,
        SGD: 1.3421,
        INR: 82.290
    },
    {
        USD: new Date('2023-06-14'),
        EUR: 0.92307,
        JPY: 140.06,
        SGD: 1.3414,
        INR: 82.045
    },
    {
        USD: new Date('2023-06-15'),
        EUR: 0.91334,
        JPY: 140.18,
        SGD: 1.3361,
        INR: 81.910
    },
    {
        USD: new Date('2023-06-16'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-17'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-18'),
        EUR: 0.91401,
        JPY: 141.89,
        SGD: 1.3374,
        INR: 81.916
    },
    {
        USD: new Date('2023-06-19'),
        EUR: 0.91539,
        JPY: 141.92,
        SGD: 1.3405,
        INR: 81.982
    },
    {
        USD: new Date('2023-06-20'),
        EUR: 0.91579,
        JPY: 141.36,
        SGD: 1.3431,
        INR: 81.992
    },
    {
        USD: new Date('2023-06-21'),
        EUR: 0.91008,
        JPY: 141.72,
        SGD: 1.3402,
        INR: 81.944
    },
    {
        USD: new Date('2023-06-22'),
        EUR: 0.91292,
        JPY: 143.06,
        SGD: 1.3452,
        INR: 81.900
    },
    {
        USD: new Date('2023-06-23'),
        EUR: 0.91498,
        JPY: 143.72,
        SGD: 1.3508,
        INR: 81.971
    },
    {
        USD: new Date('2023-06-24'),
        EUR: 0.91608,
        JPY: 143.69,
        SGD: 1.3518,
        INR: 81.985
    },
    {
        USD: new Date('2023-06-25'),
        EUR: 0.91684,
        JPY: 143.46,
        SGD: 1.3518,
        INR: 81.961
    },
    {
        USD: new Date('2023-06-26'),
        EUR: 0.91655,
        JPY: 143.43,
        SGD: 1.3535,
        INR: 82.005
    },
    {
        USD: new Date('2023-06-27'),
        EUR: 0.91254,
        JPY: 143.97,
        SGD: 1.3493,
        INR: 82.000
    },
    {
        USD: new Date('2023-06-28'),
        EUR: 0.91607,
        JPY: 144.35,
        SGD: 1.3528,
        INR: 82.025
    },
    {
        USD: new Date('2023-06-29'),
        EUR: 0.92032,
        JPY: 144.77,
        SGD: 1.3561,
        INR: 82.073
    },
    {
        USD: new Date('2023-06-30'),
        EUR: 0.91610,
        JPY: 144.31,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-01'),
        EUR: 0.91610,
        JPY: 144.34,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-02'),
        EUR: 0.91660,
        JPY: 144.33,
        SGD: 1.3521,
        INR: 82.097
    },
    {
        USD: new Date('2023-07-03'),
        EUR: 0.91631,
        JPY: 144.67,
        SGD: 1.3511,
        INR: 81.967
    },
    {
        USD: new Date('2023-07-04'),
        EUR: 0.91908,
        JPY: 144.46,
        SGD: 1.3494,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-05'),
        EUR: 0.92119,
        JPY: 144.54,
        SGD: 1.3533,
        INR: 82.395
    },
    {
        USD: new Date('2023-07-06'),
        EUR: 0.91822,
        JPY: 144.05,
        SGD: 1.3531,
        INR: 82.770
    },
    {
        USD: new Date('2023-07-07'),
        EUR: 0.91113,
        JPY: 142.09,
        SGD: 1.3503,
        INR: 82.651
    },
    {
        USD: new Date('2023-07-08'),
        EUR: 0.91152,
        JPY: 142.11,
        SGD: 1.3499,
        INR: 82.647
    },
    {
        USD: new Date('2023-07-09'),
        EUR: 0.91190,
        JPY: 142.18,
        SGD: 1.3465,
        INR: 82.628
    },
    {
        USD: new Date('2023-07-10'),
        EUR: 0.90896,
        JPY: 141.31,
        SGD: 1.3444,
        INR: 82.536
    },
    {
        USD: new Date('2023-07-11'),
        EUR: 0.90808,
        JPY: 140.22,
        SGD: 1.3406,
        INR: 82.384
    },
    {
        USD: new Date('2023-07-12'),
        EUR: 0.89801,
        JPY: 138.38,
        SGD: 1.3300,
        INR: 81.975
    },
    {
        USD: new Date('2023-07-13'),
        EUR: 0.89080,
        JPY: 138.02,
        SGD: 1.3223,
        INR: 82.031
    },
    {
        USD: new Date('2023-07-14'),
        EUR: 0.88939,
        JPY: 138.69,
        SGD: 1.3211,
        INR: 82.134
    },
    {
        USD: new Date('2023-07-15'),
        EUR: 0.88992,
        JPY: 138.69,
        SGD: 1.3209,
        INR: 82.116
    },
    {
        USD: new Date('2023-07-16'),
        EUR: 0.89084,
        JPY: 138.76,
        SGD: 1.3219,
        INR: 82.075
    },
    {
        USD: new Date('2023-07-17'),
        EUR: 0.88965,
        JPY: 138.71,
        SGD: 1.3216,
        INR: 82.057
    },
    {
        USD: new Date('2023-07-18'),
        EUR: 0.89041,
        JPY: 138.94,
        SGD: 1.3225,
        INR: 82.076
    },
    {
        USD: new Date('2023-07-19'),
        EUR: 0.89269,
        JPY: 139.62,
        SGD: 1.3251,
        INR: 82.065
    },
    {
        USD: new Date('2023-07-20'),
        EUR: 0.89814,
        JPY: 139.98,
        SGD: 1.3267,
        INR: 82.084
    },
    {
        USD: new Date('2023-07-21'),
        EUR: 0.89824,
        JPY: 141.78,
        SGD: 1.3309,
        INR: 82.003
    },
    {
        USD: new Date('2023-07-22'),
        EUR: 0.89857,
        JPY: 141.78,
        SGD: 1.3306,
        INR: 82.004
    },
    {
        USD: new Date('2023-07-23'),
        EUR: 0.89864,
        JPY: 141.75,
        SGD: 1.3308,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-24'),
        EUR: 0.90382,
        JPY: 141.51,
        SGD: 1.3317,
        INR: 81.814
    },
    {
        USD: new Date('2023-07-25'),
        EUR: 0.90485,
        JPY: 140.92,
        SGD: 1.3278,
        INR: 81.956
    },
    {
        USD: new Date('2023-07-26'),
        EUR: 0.90178,
        JPY: 140.41,
        SGD: 1.3254,
        INR: 81.976
    },
    {
        USD: new Date('2023-07-27'),
        EUR: 0.91046,
        JPY: 139.18,
        SGD: 1.3305,
        INR: 82.373
    },
    {
        USD: new Date('2023-07-28'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.260
    },
    {
        USD: new Date('2023-07-29'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.266
    },
    {
        USD: new Date('2023-07-30'),
        EUR: 0.90709,
        JPY: 140.93,
        SGD: 1.3319,
        INR: 82.263
    },
    {
        USD: new Date('2023-07-31'),
        EUR: 0.90896,
        JPY: 142.27,
        SGD: 1.3295,
        INR: 82.241
    },
    {
        USD: new Date('2023-08-01'),
        EUR: 0.90869,
        JPY: 142.90,
        SGD: 1.3351,
        INR: 82.337
    },
    {
        USD: new Date('2023-08-02'),
        EUR: 0.91373,
        JPY: 143.22,
        SGD: 1.3413,
        INR: 82.666
    },
    {
        USD: new Date('2023-08-03'),
        EUR: 0.91309,
        JPY: 142.49,
        SGD: 1.3410,
        INR: 82.833
    },
    {
        USD: new Date('2023-08-04'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-05'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-06'),
        EUR: 0.90877,
        JPY: 141.84,
        SGD: 1.3397,
        INR: 82.687
    },
    {
        USD: new Date('2023-08-07'),
        EUR: 0.90893,
        JPY: 142.44,
        SGD: 1.3409,
        INR: 82.764
    },
    {
        USD: new Date('2023-08-08'),
        EUR: 0.91304,
        JPY: 143.36,
        SGD: 1.3479,
        INR: 82.859
    },
    {
        USD: new Date('2023-08-09'),
        EUR: 0.91092,
        JPY: 143.67,
        SGD: 1.3463,
        INR: 82.924
    },
    {
        USD: new Date('2023-08-10'),
        EUR: 0.91051,
        JPY: 144.83,
        SGD: 1.3493,
        INR: 82.918
    },
    {
        USD: new Date('2023-08-11'),
        EUR: 0.91208,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-12'),
        EUR: 0.91271,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-13'),
        EUR: 0.91401,
        JPY: 144.93,
        SGD: 1.3530,
        INR: 82.956
    },
    {
        USD: new Date('2023-08-14'),
        EUR: 0.91675,
        JPY: 145.52,
        SGD: 1.3559,
        INR: 83.407
    },
    {
        USD: new Date('2023-08-15'),
        EUR: 0.91717,
        JPY: 145.59,
        SGD: 1.3586,
        INR: 83.204
    },
    {
        USD: new Date('2023-08-16'),
        EUR: 0.91902,
        JPY: 146.29,
        SGD: 1.3595,
        INR: 83.234
    },
    {
        USD: new Date('2023-08-17'),
        EUR: 0.91966,
        JPY: 145.71,
        SGD: 1.3584,
        INR: 83.101
    },
    {
        USD: new Date('2023-08-18'),
        EUR: 0.91832,
        JPY: 145.41,
        SGD: 1.3587,
        INR: 83.157
    }
];
export let synchronizedData: Object[] = [
    {
        USD: new Date('2023-02-18'),
        EUR: 0.93316,
        JPY: 134.10,
        SGD: 1.3370,
        INR: 82.814
    },
    {
        USD: new Date('2023-02-19'),
        EUR: 0.93591,
        JPY: 134.31,
        SGD: 1.3371,
        INR: 82.773
    },
    {
        USD: new Date('2023-02-20'),
        EUR: 0.93604,
        JPY: 134.32,
        SGD: 1.3359,
        INR: 82.721
    },
    {
        USD: new Date('2023-02-21'),
        EUR: 0.93881,
        JPY: 134.97,
        SGD: 1.3402,
        INR: 82.899
    },
    {
        USD: new Date('2023-02-22'),
        EUR: 0.94289,
        JPY: 134.93,
        SGD: 1.3408,
        INR: 82.843
    },
    {
        USD: new Date('2023-02-23'),
        EUR: 0.94358,
        JPY: 134.63,
        SGD: 1.3428,
        INR: 82.636
    },
    {
        USD: new Date('2023-02-24'),
        EUR: 0.94473,
        JPY: 136.47,
        SGD: 1.3500,
        INR: 82.933
    },
    {
        USD: new Date('2023-02-25'),
        EUR: 0.94584,
        JPY: 136.48,
        SGD: 1.3499,
        INR: 82.929
    },
    {
        USD: new Date('2023-02-26'),
        EUR: 0.94745,
        JPY: 136.40,
        SGD: 1.3498,
        INR: 82.928
    },
    {
        USD: new Date('2023-02-27'),
        EUR: 0.94262,
        JPY: 136.32,
        SGD: 1.3469,
        INR: 82.673
    },
    {
        USD: new Date('2023-02-28'),
        EUR: 0.94548,
        JPY: 136.35,
        SGD: 1.3484,
        INR: 82.641
    },
    {
        USD: new Date('2023-03-01'),
        EUR: 0.93722,
        JPY: 136.20,
        SGD: 1.3420,
        INR: 82.418
    },
    {
        USD: new Date('2023-03-02'),
        EUR: 0.94344,
        JPY: 136.70,
        SGD: 1.3473,
        INR: 82.349
    },
    {
        USD: new Date('2023-03-03'),
        EUR: 0.93901,
        JPY: 135.85,
        SGD: 1.3452,
        INR: 81.712
    },
    {
        USD: new Date('2023-03-04'),
        EUR: 0.93968,
        JPY: 135.84,
        SGD: 1.3452,
        INR: 81.713
    },
    {
        USD: new Date('2023-03-05'),
        EUR: 0.94106,
        JPY: 136.02,
        SGD: 1.3455,
        INR: 81.742
    },
    {
        USD: new Date('2023-03-06'),
        EUR: 0.93573,
        JPY: 135.99,
        SGD: 1.3451,
        INR: 81.858
    },
    {
        USD: new Date('2023-03-07'),
        EUR: 0.94792,
        JPY: 137.38,
        SGD: 1.3544,
        INR: 82.072
    },
    {
        USD: new Date('2023-03-08'),
        EUR: 0.94793,
        JPY: 137.24,
        SGD: 1.3533,
        INR: 81.960
    },
    {
        USD: new Date('2023-03-09'),
        EUR: 0.94480,
        JPY: 136.41,
        SGD: 1.3532,
        INR: 82.011
    },
    {
        USD: new Date('2023-03-10'),
        EUR: 0.93842,
        JPY: 135.00,
        SGD: 1.3488,
        INR: 82.018
    },
    {
        USD: new Date('2023-03-11'),
        EUR: 0.93926,
        JPY: 134.99,
        SGD: 1.3489,
        INR: 81.966
    },
    {
        USD: new Date('2023-03-12'),
        EUR: 0.93600,
        JPY: 134.98,
        SGD: 1.3475,
        INR: 82.019
    },
    {
        USD: new Date('2023-03-13'),
        EUR: 0.93246,
        JPY: 133.12,
        SGD: 1.3474,
        INR: 82.422
    },
    {
        USD: new Date('2023-03-14'),
        EUR: 0.93219,
        JPY: 134.40,
        SGD: 1.3452,
        INR: 82.309
    },
    {
        USD: new Date('2023-03-15'),
        EUR: 0.94490,
        JPY: 132.94,
        SGD: 1.3512,
        INR: 82.713
    },
    {
        USD: new Date('2023-03-16'),
        EUR: 0.94220,
        JPY: 133.38,
        SGD: 1.3461,
        INR: 82.642
    },
    {
        USD: new Date('2023-03-17'),
        EUR: 0.93006,
        JPY: 131.84,
        SGD: 1.3416,
        INR: 82.531
    },
    {
        USD: new Date('2023-03-18'),
        EUR: 0.92806,
        JPY: 131.85,
        SGD: 1.3415,
        INR: 82.536
    },
    {
        USD: new Date('2023-03-19'),
        EUR: 0.93648,
        JPY: 132.29,
        SGD: 1.3406,
        INR: 82.544
    },
    {
        USD: new Date('2023-03-20'),
        EUR: 0.93295,
        JPY: 131.40,
        SGD: 1.3377,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-21'),
        EUR: 0.92817,
        JPY: 132.36,
        SGD: 1.3370,
        INR: 82.663
    },
    {
        USD: new Date('2023-03-22'),
        EUR: 0.92003,
        JPY: 131.18,
        SGD: 1.3297,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-23'),
        EUR: 0.92290,
        JPY: 130.80,
        SGD: 1.3278,
        INR: 82.253
    },
    {
        USD: new Date('2023-03-24'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-25'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-26'),
        EUR: 0.92789,
        JPY: 130.79,
        SGD: 1.3316,
        INR: 82.348
    },
    {
        USD: new Date('2023-03-27'),
        EUR: 0.92601,
        JPY: 131.48,
        SGD: 1.3312,
        INR: 82.240
    },
    {
        USD: new Date('2023-03-28'),
        EUR: 0.92242,
        JPY: 130.85,
        SGD: 1.3277,
        INR: 82.164
    },
    {
        USD: new Date('2023-03-29'),
        EUR: 0.92205,
        JPY: 132.66,
        SGD: 1.3292,
        INR: 82.246
    },
    {
        USD: new Date('2023-03-30'),
        EUR: 0.91709,
        JPY: 132.81,
        SGD: 1.3276,
        INR: 82.103
    },
    {
        USD: new Date('2023-03-31'),
        EUR: 0.92020,
        JPY: 132.78,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-01'),
        EUR: 0.92021,
        JPY: 132.77,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-02'),
        EUR: 0.92422,
        JPY: 133.26,
        SGD: 1.3328,
        INR: 82.201
    },
    {
        USD: new Date('2023-04-03'),
        EUR: 0.91706,
        JPY: 132.34,
        SGD: 1.3269,
        INR: 82.147
    },
    {
        USD: new Date('2023-04-04'),
        EUR: 0.91257,
        JPY: 131.68,
        SGD: 1.3255,
        INR: 82.138
    },
    {
        USD: new Date('2023-04-05'),
        EUR: 0.91665,
        JPY: 131.12,
        SGD: 1.3281,
        INR: 81.960
    },
    {
        USD: new Date('2023-04-06'),
        EUR: 0.91605,
        JPY: 131.84,
        SGD: 1.3306,
        INR: 81.825
    },
    {
        USD: new Date('2023-04-07'),
        EUR: 0.90949,
        JPY: 132.15,
        SGD: 1.3321,
        INR: 81.875
    },
    {
        USD: new Date('2023-04-08'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-09'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-10'),
        EUR: 0.92040,
        JPY: 133.54,
        SGD: 1.3324,
        INR: 81.977
    },
    {
        USD: new Date('2023-04-11'),
        EUR: 0.91601,
        JPY: 133.62,
        SGD: 1.3324,
        INR: 82.079
    },
    {
        USD: new Date('2023-04-12'),
        EUR: 0.90951,
        JPY: 133.07,
        SGD: 1.3279,
        INR: 81.951
    },
    {
        USD: new Date('2023-04-13'),
        EUR: 0.90513,
        JPY: 132.59,
        SGD: 1.3222,
        INR: 81.691
    },
    {
        USD: new Date('2023-04-14'),
        EUR: 0.90139,
        JPY: 133.83,
        SGD: 1.3303,
        INR: 81.852
    },
    {
        USD: new Date('2023-04-15'),
        EUR: 0.90067,
        JPY: 133.81,
        SGD: 1.3304,
        INR: 81.842
    },
    {
        USD: new Date('2023-04-16'),
        EUR: 0.91013,
        JPY: 133.91,
        SGD: 1.3311,
        INR: 81.857
    },
    {
        USD: new Date('2023-04-17'),
        EUR: 0.91539,
        JPY: 134.46,
        SGD: 1.3342,
        INR: 82.004
    },
    {
        USD: new Date('2023-04-18'),
        EUR: 0.91132,
        JPY: 134.05,
        SGD: 1.3325,
        INR: 82.107
    },
    {
        USD: new Date('2023-04-19'),
        EUR: 0.91297,
        JPY: 134.73,
        SGD: 1.3349,
        INR: 82.334
    },
    {
        USD: new Date('2023-04-20'),
        EUR: 0.91182,
        JPY: 134.18,
        SGD: 1.3326,
        INR: 82.153
    },
    {
        USD: new Date('2023-04-21'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-22'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-23'),
        EUR: 0.90977,
        JPY: 134.09,
        SGD: 1.3341,
        INR: 82.036
    },
    {
        USD: new Date('2023-04-24'),
        EUR: 0.90489,
        JPY: 134.12,
        SGD: 1.3334,
        INR: 81.855
    },
    {
        USD: new Date('2023-04-25'),
        EUR: 0.91085,
        JPY: 133.72,
        SGD: 1.3380,
        INR: 81.978
    },
    {
        USD: new Date('2023-04-26'),
        EUR: 0.90584,
        JPY: 133.58,
        SGD: 1.3354,
        INR: 81.748
    },
    {
        USD: new Date('2023-04-27'),
        EUR: 0.90684,
        JPY: 133.90,
        SGD: 1.3351,
        INR: 81.716
    },
    {
        USD: new Date('2023-04-28'),
        EUR: 0.89872,
        JPY: 136.31,
        SGD: 1.3355,
        INR: 81.745
    },
    {
        USD: new Date('2023-04-29'),
        EUR: 0.89861,
        JPY: 136.32,
        SGD: 1.3353,
        INR: 81.742
    },
    {
        USD: new Date('2023-04-30'),
        EUR: 0.90810,
        JPY: 136.24,
        SGD: 1.3349,
        INR: 81.764
    },
    {
        USD: new Date('2023-05-01'),
        EUR: 0.91123,
        JPY: 137.45,
        SGD: 1.3363,
        INR: 81.780
    },
    {
        USD: new Date('2023-05-02'),
        EUR: 0.90859,
        JPY: 136.52,
        SGD: 1.3346,
        INR: 81.770
    },
    {
        USD: new Date('2023-05-03'),
        EUR: 0.90346,
        JPY: 134.61,
        SGD: 1.3303,
        INR: 81.804
    },
    {
        USD: new Date('2023-05-04'),
        EUR: 0.90740,
        JPY: 134.29,
        SGD: 1.3277,
        INR: 81.698
    },
    {
        USD: new Date('2023-05-05'),
        EUR: 0.89849,
        JPY: 134.84,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-06'),
        EUR: 0.89200,
        JPY: 134.83,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-07'),
        EUR: 0.90768,
        JPY: 135.04,
        SGD: 1.3257,
        INR: 81.720
    },
    {
        USD: new Date('2023-05-08'),
        EUR: 0.90893,
        JPY: 135.01,
        SGD: 1.3251,
        INR: 81.787
    },
    {
        USD: new Date('2023-05-09'),
        EUR: 0.91193,
        JPY: 135.20,
        SGD: 1.3271,
        INR: 82.102
    },
    {
        USD: new Date('2023-05-10'),
        EUR: 0.91019,
        JPY: 134.20,
        SGD: 1.3247,
        INR: 81.913
    },
    {
        USD: new Date('2023-05-11'),
        EUR: 0.91601,
        JPY: 134.52,
        SGD: 1.3315,
        INR: 82.094
    },
    {
        USD: new Date('2023-05-12'),
        EUR: 0.91412,
        JPY: 135.75,
        SGD: 1.3388,
        INR: 82.256
    },
    {
        USD: new Date('2023-05-13'),
        EUR: 0.91429,
        JPY: 135.73,
        SGD: 1.3384,
        INR: 82.197
    },
    {
        USD: new Date('2023-05-14'),
        EUR: 0.92153,
        JPY: 135.78,
        SGD: 1.3385,
        INR: 82.228
    },
    {
        USD: new Date('2023-05-15'),
        EUR: 0.91939,
        JPY: 136.02,
        SGD: 1.3362,
        INR: 82.270
    },
    {
        USD: new Date('2023-05-16'),
        EUR: 0.92062,
        JPY: 136.39,
        SGD: 1.3404,
        INR: 82.295
    },
    {
        USD: new Date('2023-05-17'),
        EUR: 0.92249,
        JPY: 137.59,
        SGD: 1.3421,
        INR: 82.458
    },
    {
        USD: new Date('2023-05-18'),
        EUR: 0.92798,
        JPY: 138.65,
        SGD: 1.3478,
        INR: 82.726
    },
    {
        USD: new Date('2023-05-19'),
        EUR: 0.92391,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.842
    },
    {
        USD: new Date('2023-05-20'),
        EUR: 0.92447,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.843
    },
    {
        USD: new Date('2023-05-21'),
        EUR: 0.92428,
        JPY: 137.66,
        SGD: 1.3451,
        INR: 82.883
    },
    {
        USD: new Date('2023-05-22'),
        EUR: 0.92482,
        JPY: 138.57,
        SGD: 1.3464,
        INR: 82.822
    },
    {
        USD: new Date('2023-05-23'),
        EUR: 0.92833,
        JPY: 138.53,
        SGD: 1.3469,
        INR: 82.897
    },
    {
        USD: new Date('2023-05-24'),
        EUR: 0.92982,
        JPY: 139.22,
        SGD: 1.3490,
        INR: 82.705
    },
    {
        USD: new Date('2023-05-25'),
        EUR: 0.93225,
        JPY: 139.94,
        SGD: 1.3544,
        INR: 82.734
    },
    {
        USD: new Date('2023-05-26'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-27'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-28'),
        EUR: 0.93286,
        JPY: 140.78,
        SGD: 1.3530,
        INR: 82.569
    },
    {
        USD: new Date('2023-05-29'),
        EUR: 0.93372,
        JPY: 140.49,
        SGD: 1.3538,
        INR: 82.580
    },
    {
        USD: new Date('2023-05-30'),
        EUR: 0.93174,
        JPY: 139.76,
        SGD: 1.3506,
        INR: 82.682
    },
    {
        USD: new Date('2023-05-31'),
        EUR: 0.93515,
        JPY: 139.18,
        SGD: 1.3514,
        INR: 82.669
    },
    {
        USD: new Date('2023-06-01'),
        EUR: 0.92911,
        JPY: 138.77,
        SGD: 1.3473,
        INR: 82.280
    },
    {
        USD: new Date('2023-06-02'),
        EUR: 0.93342,
        JPY: 139.95,
        SGD: 1.3505,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-03'),
        EUR: 0.93341,
        JPY: 139.96,
        SGD: 1.3504,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-04'),
        EUR: 0.93425,
        JPY: 140.06,
        SGD: 1.3504,
        INR: 82.407
    },
    {
        USD: new Date('2023-06-05'),
        EUR: 0.93341,
        JPY: 139.46,
        SGD: 1.3493,
        INR: 82.506
    },
    {
        USD: new Date('2023-06-06'),
        EUR: 0.93505,
        JPY: 139.61,
        SGD: 1.3483,
        INR: 82.520
    },
    {
        USD: new Date('2023-06-07'),
        EUR: 0.93464,
        JPY: 140.03,
        SGD: 1.3487,
        INR: 82.625
    },
    {
        USD: new Date('2023-06-08'),
        EUR: 0.92739,
        JPY: 138.90,
        SGD: 1.3427,
        INR: 82.481
    },
    {
        USD: new Date('2023-06-09'),
        EUR: 0.93028,
        JPY: 139.40,
        SGD: 1.3441,
        INR: 82.425
    },
    {
        USD: new Date('2023-06-10'),
        EUR: 0.92992,
        JPY: 139.39,
        SGD: 1.3440,
        INR: 82.421
    },
    {
        USD: new Date('2023-06-11'),
        EUR: 0.93066,
        JPY: 139.43,
        SGD: 1.3438,
        INR: 82.435
    },
    {
        USD: new Date('2023-06-12'),
        EUR: 0.92927,
        JPY: 139.56,
        SGD: 1.3435,
        INR: 82.329
    },
    {
        USD: new Date('2023-06-13'),
        EUR: 0.92665,
        JPY: 140.14,
        SGD: 1.3421,
        INR: 82.290
    },
    {
        USD: new Date('2023-06-14'),
        EUR: 0.92307,
        JPY: 140.06,
        SGD: 1.3414,
        INR: 82.045
    },
    {
        USD: new Date('2023-06-15'),
        EUR: 0.91334,
        JPY: 140.18,
        SGD: 1.3361,
        INR: 81.910
    },
    {
        USD: new Date('2023-06-16'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-17'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-18'),
        EUR: 0.91401,
        JPY: 141.89,
        SGD: 1.3374,
        INR: 81.916
    },
    {
        USD: new Date('2023-06-19'),
        EUR: 0.91539,
        JPY: 141.92,
        SGD: 1.3405,
        INR: 81.982
    },
    {
        USD: new Date('2023-06-20'),
        EUR: 0.91579,
        JPY: 141.36,
        SGD: 1.3431,
        INR: 81.992
    },
    {
        USD: new Date('2023-06-21'),
        EUR: 0.91008,
        JPY: 141.72,
        SGD: 1.3402,
        INR: 81.944
    },
    {
        USD: new Date('2023-06-22'),
        EUR: 0.91292,
        JPY: 143.06,
        SGD: 1.3452,
        INR: 81.900
    },
    {
        USD: new Date('2023-06-23'),
        EUR: 0.91498,
        JPY: 143.72,
        SGD: 1.3508,
        INR: 81.971
    },
    {
        USD: new Date('2023-06-24'),
        EUR: 0.91608,
        JPY: 143.69,
        SGD: 1.3518,
        INR: 81.985
    },
    {
        USD: new Date('2023-06-25'),
        EUR: 0.91684,
        JPY: 143.46,
        SGD: 1.3518,
        INR: 81.961
    },
    {
        USD: new Date('2023-06-26'),
        EUR: 0.91655,
        JPY: 143.43,
        SGD: 1.3535,
        INR: 82.005
    },
    {
        USD: new Date('2023-06-27'),
        EUR: 0.91254,
        JPY: 143.97,
        SGD: 1.3493,
        INR: 82.000
    },
    {
        USD: new Date('2023-06-28'),
        EUR: 0.91607,
        JPY: 144.35,
        SGD: 1.3528,
        INR: 82.025
    },
    {
        USD: new Date('2023-06-29'),
        EUR: 0.92032,
        JPY: 144.77,
        SGD: 1.3561,
        INR: 82.073
    },
    {
        USD: new Date('2023-06-30'),
        EUR: 0.91610,
        JPY: 144.31,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-01'),
        EUR: 0.91610,
        JPY: 144.34,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-02'),
        EUR: 0.91660,
        JPY: 144.33,
        SGD: 1.3521,
        INR: 82.097
    },
    {
        USD: new Date('2023-07-03'),
        EUR: 0.91631,
        JPY: 144.67,
        SGD: 1.3511,
        INR: 81.967
    },
    {
        USD: new Date('2023-07-04'),
        EUR: 0.91908,
        JPY: 144.46,
        SGD: 1.3494,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-05'),
        EUR: 0.92119,
        JPY: 144.54,
        SGD: 1.3533,
        INR: 82.395
    },
    {
        USD: new Date('2023-07-06'),
        EUR: 0.91822,
        JPY: 144.05,
        SGD: 1.3531,
        INR: 82.770
    },
    {
        USD: new Date('2023-07-07'),
        EUR: 0.91113,
        JPY: 142.09,
        SGD: 1.3503,
        INR: 82.651
    },
    {
        USD: new Date('2023-07-08'),
        EUR: 0.91152,
        JPY: 142.11,
        SGD: 1.3499,
        INR: 82.647
    },
    {
        USD: new Date('2023-07-09'),
        EUR: 0.91190,
        JPY: 142.18,
        SGD: 1.3465,
        INR: 82.628
    },
    {
        USD: new Date('2023-07-10'),
        EUR: 0.90896,
        JPY: 141.31,
        SGD: 1.3444,
        INR: 82.536
    },
    {
        USD: new Date('2023-07-11'),
        EUR: 0.90808,
        JPY: 140.22,
        SGD: 1.3406,
        INR: 82.384
    },
    {
        USD: new Date('2023-07-12'),
        EUR: 0.89801,
        JPY: 138.38,
        SGD: 1.3300,
        INR: 81.975
    },
    {
        USD: new Date('2023-07-13'),
        EUR: 0.89080,
        JPY: 138.02,
        SGD: 1.3223,
        INR: 82.031
    },
    {
        USD: new Date('2023-07-14'),
        EUR: 0.88939,
        JPY: 138.69,
        SGD: 1.3211,
        INR: 82.134
    },
    {
        USD: new Date('2023-07-15'),
        EUR: 0.88992,
        JPY: 138.69,
        SGD: 1.3209,
        INR: 82.116
    },
    {
        USD: new Date('2023-07-16'),
        EUR: 0.89084,
        JPY: 138.76,
        SGD: 1.3219,
        INR: 82.075
    },
    {
        USD: new Date('2023-07-17'),
        EUR: 0.88965,
        JPY: 138.71,
        SGD: 1.3216,
        INR: 82.057
    },
    {
        USD: new Date('2023-07-18'),
        EUR: 0.89041,
        JPY: 138.94,
        SGD: 1.3225,
        INR: 82.076
    },
    {
        USD: new Date('2023-07-19'),
        EUR: 0.89269,
        JPY: 139.62,
        SGD: 1.3251,
        INR: 82.065
    },
    {
        USD: new Date('2023-07-20'),
        EUR: 0.89814,
        JPY: 139.98,
        SGD: 1.3267,
        INR: 82.084
    },
    {
        USD: new Date('2023-07-21'),
        EUR: 0.89824,
        JPY: 141.78,
        SGD: 1.3309,
        INR: 82.003
    },
    {
        USD: new Date('2023-07-22'),
        EUR: 0.89857,
        JPY: 141.78,
        SGD: 1.3306,
        INR: 82.004
    },
    {
        USD: new Date('2023-07-23'),
        EUR: 0.89864,
        JPY: 141.75,
        SGD: 1.3308,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-24'),
        EUR: 0.90382,
        JPY: 141.51,
        SGD: 1.3317,
        INR: 81.814
    },
    {
        USD: new Date('2023-07-25'),
        EUR: 0.90485,
        JPY: 140.92,
        SGD: 1.3278,
        INR: 81.956
    },
    {
        USD: new Date('2023-07-26'),
        EUR: 0.90178,
        JPY: 140.41,
        SGD: 1.3254,
        INR: 81.976
    },
    {
        USD: new Date('2023-07-27'),
        EUR: 0.91046,
        JPY: 139.18,
        SGD: 1.3305,
        INR: 82.373
    },
    {
        USD: new Date('2023-07-28'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.260
    },
    {
        USD: new Date('2023-07-29'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.266
    },
    {
        USD: new Date('2023-07-30'),
        EUR: 0.90709,
        JPY: 140.93,
        SGD: 1.3319,
        INR: 82.263
    },
    {
        USD: new Date('2023-07-31'),
        EUR: 0.90896,
        JPY: 142.27,
        SGD: 1.3295,
        INR: 82.241
    },
    {
        USD: new Date('2023-08-01'),
        EUR: 0.90869,
        JPY: 142.90,
        SGD: 1.3351,
        INR: 82.337
    },
    {
        USD: new Date('2023-08-02'),
        EUR: 0.91373,
        JPY: 143.22,
        SGD: 1.3413,
        INR: 82.666
    },
    {
        USD: new Date('2023-08-03'),
        EUR: 0.91309,
        JPY: 142.49,
        SGD: 1.3410,
        INR: 82.833
    },
    {
        USD: new Date('2023-08-04'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-05'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-06'),
        EUR: 0.90877,
        JPY: 141.84,
        SGD: 1.3397,
        INR: 82.687
    },
    {
        USD: new Date('2023-08-07'),
        EUR: 0.90893,
        JPY: 142.44,
        SGD: 1.3409,
        INR: 82.764
    },
    {
        USD: new Date('2023-08-08'),
        EUR: 0.91304,
        JPY: 143.36,
        SGD: 1.3479,
        INR: 82.859
    },
    {
        USD: new Date('2023-08-09'),
        EUR: 0.91092,
        JPY: 143.67,
        SGD: 1.3463,
        INR: 82.924
    },
    {
        USD: new Date('2023-08-10'),
        EUR: 0.91051,
        JPY: 144.83,
        SGD: 1.3493,
        INR: 82.918
    },
    {
        USD: new Date('2023-08-11'),
        EUR: 0.91208,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-12'),
        EUR: 0.91271,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-13'),
        EUR: 0.91401,
        JPY: 144.93,
        SGD: 1.3530,
        INR: 82.956
    },
    {
        USD: new Date('2023-08-14'),
        EUR: 0.91675,
        JPY: 145.52,
        SGD: 1.3559,
        INR: 83.407
    },
    {
        USD: new Date('2023-08-15'),
        EUR: 0.91717,
        JPY: 145.59,
        SGD: 1.3586,
        INR: 83.204
    },
    {
        USD: new Date('2023-08-16'),
        EUR: 0.91902,
        JPY: 146.29,
        SGD: 1.3595,
        INR: 83.234
    },
    {
        USD: new Date('2023-08-17'),
        EUR: 0.91966,
        JPY: 145.71,
        SGD: 1.3584,
        INR: 83.101
    },
    {
        USD: new Date('2023-08-18'),
        EUR: 0.91832,
        JPY: 145.41,
        SGD: 1.3587,
        INR: 83.157
    }
];

Crosshair synchronization

The crosshair can be synchronized across multiple charts using the showCrosshair and hideCrosshair methods. When we hover over one chart, we call the showCrosshair method for the other charts to align with data points in other connected charts, simplifying data comparison and analysis.

In the showCrosshair method, specify the following parameters programmatically to enable crosshair for a particular chart:

  • x - Specifies the x-value of the point or x-coordinate.
  • y - Specifies the y-value of the point or y-coordinate.
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Chart, AreaSeries, SplineSeries, DateTime, Crosshair, IMouseEventArgs, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import { Browser } from '@syncfusion/ej2-base';

function App() {
    let chart1;
    let chart2;

    let chart1MouseLeave = (args) => {
        chart2.hideCrosshair();
    };

    let chart1MouseMove = (args) => {
        if ((!Browser.isDevice && !chart1.isTouch && !chart1.isChartDrag) || chart1.startMove) {
            chart2.startMove = chart1.startMove;
            chart2.showCrosshair(args.x, args.y);
        }
    };

    let chart1MouseUp = (args) => {
        if (Browser.isDevice && chart1.startMove) {
            chart2.hideCrosshair();
        }
    };

    let chart2MouseLeave = (args) => {
        chart1.hideCrosshair();
    };

    let chart2MouseMove = (args) => {
        if ((!Browser.isDevice && !chart2.isTouch && !chart2.isChartDrag) || chart2.startMove) {
            chart1.startMove = chart2.startMove;
            chart1.showCrosshair(args.x, args.y);
        }
    };
    let chart2MouseUp = (args) => {
        if (Browser.isDevice && chart2.startMove) {
            chart1.hideCrosshair();
        }
    };
    return <div className="control-section">
        <div className="row">
            <div className="col">
                <ChartComponent
                    id="container1"
                    ref={chart => chart1 = chart}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1,
                        crosshairTooltip: { enable: true }
                    }}
                    primaryYAxis={{
                        labelFormat: 'n2',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 0.86,
                        maximum: 0.96,
                        interval: 0.025
                    }}
                    chartArea={{ border: { width: 0 } }}
                    chartMouseLeave={chart1MouseLeave.bind(this)}
                    chartMouseMove={chart1MouseMove.bind(this)}
                    chartMouseUp={chart1MouseUp.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    crosshair={{ enable: true, lineType: 'Vertical', dashArray: '2,2' }}
                    title="US to Euro">
                    <Inject services={[SplineSeries, DateTime, Crosshair]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Spline" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
            <div className="col">
                <ChartComponent
                    id="container2"
                    ref={chart => chart2 = chart}                  
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1,
                        crosshairTooltip: { enable: true }
                    }}
                    primaryYAxis={{
                        labelFormat: 'n1',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 79,
                        maximum: 85,
                        interval: 1.5
                    }}
                    chartArea={{ border: { width: 0 } }}
                    chartMouseLeave={chart2MouseLeave.bind(this)}
                    chartMouseMove={chart2MouseMove.bind(this)}
                    chartMouseUp={chart2MouseUp.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    crosshair={{ enable: true, lineType: 'Vertical', dashArray: '2,2' }}
                    title="US to INR">
                    <Inject services={[AreaSeries, DateTime, Crosshair]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Area" dataSource={synchronizedData} xName="USD" yName="INR" opacity={0.6} width={2} border={{ width: 2 }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
        </div>
    </div>
}
;
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Chart, AreaSeries, SplineSeries, DateTime, Crosshair, IMouseEventArgs, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import { Browser } from '@syncfusion/ej2-base';

function App() {

    let chart1: ChartComponent;
    let chart2: ChartComponent;

    let chart1MouseLeave = (args: IMouseEventArgs): void => {
        chart2.hideCrosshair();
    };

    let chart1MouseMove = (args: IMouseEventArgs): void => {
        if ((!Browser.isDevice && !chart1.isTouch && !chart1.isChartDrag) || chart1.startMove) {
            chart2.startMove = chart1.startMove;
            chart2.showCrosshair(args.x, args.y);
        }
    };

    let chart1MouseUp = (args: IMouseEventArgs): void => {
        if (Browser.isDevice && chart1.startMove) {
            chart2.hideCrosshair();
        }
    };

    let chart2MouseLeave = (args: IMouseEventArgs): void => {
        chart1.hideCrosshair();
    };

    let chart2MouseMove = (args: IMouseEventArgs): void => {
        if ((!Browser.isDevice && !chart2.isTouch && !chart2.isChartDrag) || chart2.startMove) {
            chart1.startMove = chart2.startMove;
            chart1.showCrosshair(args.x, args.y);
        }
    };

    let chart2MouseUp = (args: IMouseEventArgs): void => {
        if (Browser.isDevice && chart2.startMove) {
            chart1.hideCrosshair();
        }
    }

    return <div className="control-section">
        <div className="row">
            <div className="col">
                <ChartComponent
                    id="container1"
                    ref={chart => chart1 = chart}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1,
                        crosshairTooltip: { enable: true }
                    }}
                    primaryYAxis={{
                        labelFormat: 'n2',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 0.86,
                        maximum: 0.96,
                        interval: 0.025
                    }}
                    chartArea={{ border: { width: 0 } }}
                    chartMouseLeave={chart1MouseLeave.bind(this)}
                    chartMouseMove={chart1MouseMove.bind(this)}
                    chartMouseUp={chart1MouseUp.bind(this)}
                    crosshair={{ enable: true, lineType: 'Vertical', dashArray: '2,2' }}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to Euro">
                    <Inject services={[SplineSeries, DateTime, Crosshair]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Spline" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
            <div className="col">
                <ChartComponent
                    id="container2"
                    ref={chart => chart2 = chart}                    
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1,
                        crosshairTooltip: { enable: true }
                    }}
                    primaryYAxis={{
                        labelFormat: 'n1',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 79,
                        maximum: 85,
                        interval: 1.5
                    }}
                    chartArea={{ border: { width: 0 } }}
                    chartMouseLeave={chart2MouseLeave.bind(this)}
                    chartMouseMove={chart2MouseMove.bind(this)}
                    chartMouseUp={chart2MouseUp.bind(this)}
                    crosshair={{ enable: true, lineType: 'Vertical', dashArray: '2,2' }}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to INR">
                    <Inject services={[AreaSeries, DateTime, Crosshair]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Area" dataSource={synchronizedData} xName="USD" yName="INR" opacity={0.6} width={2} border={{ width: 2 }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
        </div>
    </div>
};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
export let synchronizedData = [
    {
        USD: new Date('2023-02-18'),
        EUR: 0.93316,
        JPY: 134.10,
        SGD: 1.3370,
        INR: 82.814
    },
    {
        USD: new Date('2023-02-19'),
        EUR: 0.93591,
        JPY: 134.31,
        SGD: 1.3371,
        INR: 82.773
    },
    {
        USD: new Date('2023-02-20'),
        EUR: 0.93604,
        JPY: 134.32,
        SGD: 1.3359,
        INR: 82.721
    },
    {
        USD: new Date('2023-02-21'),
        EUR: 0.93881,
        JPY: 134.97,
        SGD: 1.3402,
        INR: 82.899
    },
    {
        USD: new Date('2023-02-22'),
        EUR: 0.94289,
        JPY: 134.93,
        SGD: 1.3408,
        INR: 82.843
    },
    {
        USD: new Date('2023-02-23'),
        EUR: 0.94358,
        JPY: 134.63,
        SGD: 1.3428,
        INR: 82.636
    },
    {
        USD: new Date('2023-02-24'),
        EUR: 0.94473,
        JPY: 136.47,
        SGD: 1.3500,
        INR: 82.933
    },
    {
        USD: new Date('2023-02-25'),
        EUR: 0.94584,
        JPY: 136.48,
        SGD: 1.3499,
        INR: 82.929
    },
    {
        USD: new Date('2023-02-26'),
        EUR: 0.94745,
        JPY: 136.40,
        SGD: 1.3498,
        INR: 82.928
    },
    {
        USD: new Date('2023-02-27'),
        EUR: 0.94262,
        JPY: 136.32,
        SGD: 1.3469,
        INR: 82.673
    },
    {
        USD: new Date('2023-02-28'),
        EUR: 0.94548,
        JPY: 136.35,
        SGD: 1.3484,
        INR: 82.641
    },
    {
        USD: new Date('2023-03-01'),
        EUR: 0.93722,
        JPY: 136.20,
        SGD: 1.3420,
        INR: 82.418
    },
    {
        USD: new Date('2023-03-02'),
        EUR: 0.94344,
        JPY: 136.70,
        SGD: 1.3473,
        INR: 82.349
    },
    {
        USD: new Date('2023-03-03'),
        EUR: 0.93901,
        JPY: 135.85,
        SGD: 1.3452,
        INR: 81.712
    },
    {
        USD: new Date('2023-03-04'),
        EUR: 0.93968,
        JPY: 135.84,
        SGD: 1.3452,
        INR: 81.713
    },
    {
        USD: new Date('2023-03-05'),
        EUR: 0.94106,
        JPY: 136.02,
        SGD: 1.3455,
        INR: 81.742
    },
    {
        USD: new Date('2023-03-06'),
        EUR: 0.93573,
        JPY: 135.99,
        SGD: 1.3451,
        INR: 81.858
    },
    {
        USD: new Date('2023-03-07'),
        EUR: 0.94792,
        JPY: 137.38,
        SGD: 1.3544,
        INR: 82.072
    },
    {
        USD: new Date('2023-03-08'),
        EUR: 0.94793,
        JPY: 137.24,
        SGD: 1.3533,
        INR: 81.960
    },
    {
        USD: new Date('2023-03-09'),
        EUR: 0.94480,
        JPY: 136.41,
        SGD: 1.3532,
        INR: 82.011
    },
    {
        USD: new Date('2023-03-10'),
        EUR: 0.93842,
        JPY: 135.00,
        SGD: 1.3488,
        INR: 82.018
    },
    {
        USD: new Date('2023-03-11'),
        EUR: 0.93926,
        JPY: 134.99,
        SGD: 1.3489,
        INR: 81.966
    },
    {
        USD: new Date('2023-03-12'),
        EUR: 0.93600,
        JPY: 134.98,
        SGD: 1.3475,
        INR: 82.019
    },
    {
        USD: new Date('2023-03-13'),
        EUR: 0.93246,
        JPY: 133.12,
        SGD: 1.3474,
        INR: 82.422
    },
    {
        USD: new Date('2023-03-14'),
        EUR: 0.93219,
        JPY: 134.40,
        SGD: 1.3452,
        INR: 82.309
    },
    {
        USD: new Date('2023-03-15'),
        EUR: 0.94490,
        JPY: 132.94,
        SGD: 1.3512,
        INR: 82.713
    },
    {
        USD: new Date('2023-03-16'),
        EUR: 0.94220,
        JPY: 133.38,
        SGD: 1.3461,
        INR: 82.642
    },
    {
        USD: new Date('2023-03-17'),
        EUR: 0.93006,
        JPY: 131.84,
        SGD: 1.3416,
        INR: 82.531
    },
    {
        USD: new Date('2023-03-18'),
        EUR: 0.92806,
        JPY: 131.85,
        SGD: 1.3415,
        INR: 82.536
    },
    {
        USD: new Date('2023-03-19'),
        EUR: 0.93648,
        JPY: 132.29,
        SGD: 1.3406,
        INR: 82.544
    },
    {
        USD: new Date('2023-03-20'),
        EUR: 0.93295,
        JPY: 131.40,
        SGD: 1.3377,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-21'),
        EUR: 0.92817,
        JPY: 132.36,
        SGD: 1.3370,
        INR: 82.663
    },
    {
        USD: new Date('2023-03-22'),
        EUR: 0.92003,
        JPY: 131.18,
        SGD: 1.3297,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-23'),
        EUR: 0.92290,
        JPY: 130.80,
        SGD: 1.3278,
        INR: 82.253
    },
    {
        USD: new Date('2023-03-24'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-25'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-26'),
        EUR: 0.92789,
        JPY: 130.79,
        SGD: 1.3316,
        INR: 82.348
    },
    {
        USD: new Date('2023-03-27'),
        EUR: 0.92601,
        JPY: 131.48,
        SGD: 1.3312,
        INR: 82.240
    },
    {
        USD: new Date('2023-03-28'),
        EUR: 0.92242,
        JPY: 130.85,
        SGD: 1.3277,
        INR: 82.164
    },
    {
        USD: new Date('2023-03-29'),
        EUR: 0.92205,
        JPY: 132.66,
        SGD: 1.3292,
        INR: 82.246
    },
    {
        USD: new Date('2023-03-30'),
        EUR: 0.91709,
        JPY: 132.81,
        SGD: 1.3276,
        INR: 82.103
    },
    {
        USD: new Date('2023-03-31'),
        EUR: 0.92020,
        JPY: 132.78,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-01'),
        EUR: 0.92021,
        JPY: 132.77,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-02'),
        EUR: 0.92422,
        JPY: 133.26,
        SGD: 1.3328,
        INR: 82.201
    },
    {
        USD: new Date('2023-04-03'),
        EUR: 0.91706,
        JPY: 132.34,
        SGD: 1.3269,
        INR: 82.147
    },
    {
        USD: new Date('2023-04-04'),
        EUR: 0.91257,
        JPY: 131.68,
        SGD: 1.3255,
        INR: 82.138
    },
    {
        USD: new Date('2023-04-05'),
        EUR: 0.91665,
        JPY: 131.12,
        SGD: 1.3281,
        INR: 81.960
    },
    {
        USD: new Date('2023-04-06'),
        EUR: 0.91605,
        JPY: 131.84,
        SGD: 1.3306,
        INR: 81.825
    },
    {
        USD: new Date('2023-04-07'),
        EUR: 0.90949,
        JPY: 132.15,
        SGD: 1.3321,
        INR: 81.875
    },
    {
        USD: new Date('2023-04-08'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-09'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-10'),
        EUR: 0.92040,
        JPY: 133.54,
        SGD: 1.3324,
        INR: 81.977
    },
    {
        USD: new Date('2023-04-11'),
        EUR: 0.91601,
        JPY: 133.62,
        SGD: 1.3324,
        INR: 82.079
    },
    {
        USD: new Date('2023-04-12'),
        EUR: 0.90951,
        JPY: 133.07,
        SGD: 1.3279,
        INR: 81.951
    },
    {
        USD: new Date('2023-04-13'),
        EUR: 0.90513,
        JPY: 132.59,
        SGD: 1.3222,
        INR: 81.691
    },
    {
        USD: new Date('2023-04-14'),
        EUR: 0.90139,
        JPY: 133.83,
        SGD: 1.3303,
        INR: 81.852
    },
    {
        USD: new Date('2023-04-15'),
        EUR: 0.90067,
        JPY: 133.81,
        SGD: 1.3304,
        INR: 81.842
    },
    {
        USD: new Date('2023-04-16'),
        EUR: 0.91013,
        JPY: 133.91,
        SGD: 1.3311,
        INR: 81.857
    },
    {
        USD: new Date('2023-04-17'),
        EUR: 0.91539,
        JPY: 134.46,
        SGD: 1.3342,
        INR: 82.004
    },
    {
        USD: new Date('2023-04-18'),
        EUR: 0.91132,
        JPY: 134.05,
        SGD: 1.3325,
        INR: 82.107
    },
    {
        USD: new Date('2023-04-19'),
        EUR: 0.91297,
        JPY: 134.73,
        SGD: 1.3349,
        INR: 82.334
    },
    {
        USD: new Date('2023-04-20'),
        EUR: 0.91182,
        JPY: 134.18,
        SGD: 1.3326,
        INR: 82.153
    },
    {
        USD: new Date('2023-04-21'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-22'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-23'),
        EUR: 0.90977,
        JPY: 134.09,
        SGD: 1.3341,
        INR: 82.036
    },
    {
        USD: new Date('2023-04-24'),
        EUR: 0.90489,
        JPY: 134.12,
        SGD: 1.3334,
        INR: 81.855
    },
    {
        USD: new Date('2023-04-25'),
        EUR: 0.91085,
        JPY: 133.72,
        SGD: 1.3380,
        INR: 81.978
    },
    {
        USD: new Date('2023-04-26'),
        EUR: 0.90584,
        JPY: 133.58,
        SGD: 1.3354,
        INR: 81.748
    },
    {
        USD: new Date('2023-04-27'),
        EUR: 0.90684,
        JPY: 133.90,
        SGD: 1.3351,
        INR: 81.716
    },
    {
        USD: new Date('2023-04-28'),
        EUR: 0.89872,
        JPY: 136.31,
        SGD: 1.3355,
        INR: 81.745
    },
    {
        USD: new Date('2023-04-29'),
        EUR: 0.89861,
        JPY: 136.32,
        SGD: 1.3353,
        INR: 81.742
    },
    {
        USD: new Date('2023-04-30'),
        EUR: 0.90810,
        JPY: 136.24,
        SGD: 1.3349,
        INR: 81.764
    },
    {
        USD: new Date('2023-05-01'),
        EUR: 0.91123,
        JPY: 137.45,
        SGD: 1.3363,
        INR: 81.780
    },
    {
        USD: new Date('2023-05-02'),
        EUR: 0.90859,
        JPY: 136.52,
        SGD: 1.3346,
        INR: 81.770
    },
    {
        USD: new Date('2023-05-03'),
        EUR: 0.90346,
        JPY: 134.61,
        SGD: 1.3303,
        INR: 81.804
    },
    {
        USD: new Date('2023-05-04'),
        EUR: 0.90740,
        JPY: 134.29,
        SGD: 1.3277,
        INR: 81.698
    },
    {
        USD: new Date('2023-05-05'),
        EUR: 0.89849,
        JPY: 134.84,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-06'),
        EUR: 0.89200,
        JPY: 134.83,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-07'),
        EUR: 0.90768,
        JPY: 135.04,
        SGD: 1.3257,
        INR: 81.720
    },
    {
        USD: new Date('2023-05-08'),
        EUR: 0.90893,
        JPY: 135.01,
        SGD: 1.3251,
        INR: 81.787
    },
    {
        USD: new Date('2023-05-09'),
        EUR: 0.91193,
        JPY: 135.20,
        SGD: 1.3271,
        INR: 82.102
    },
    {
        USD: new Date('2023-05-10'),
        EUR: 0.91019,
        JPY: 134.20,
        SGD: 1.3247,
        INR: 81.913
    },
    {
        USD: new Date('2023-05-11'),
        EUR: 0.91601,
        JPY: 134.52,
        SGD: 1.3315,
        INR: 82.094
    },
    {
        USD: new Date('2023-05-12'),
        EUR: 0.91412,
        JPY: 135.75,
        SGD: 1.3388,
        INR: 82.256
    },
    {
        USD: new Date('2023-05-13'),
        EUR: 0.91429,
        JPY: 135.73,
        SGD: 1.3384,
        INR: 82.197
    },
    {
        USD: new Date('2023-05-14'),
        EUR: 0.92153,
        JPY: 135.78,
        SGD: 1.3385,
        INR: 82.228
    },
    {
        USD: new Date('2023-05-15'),
        EUR: 0.91939,
        JPY: 136.02,
        SGD: 1.3362,
        INR: 82.270
    },
    {
        USD: new Date('2023-05-16'),
        EUR: 0.92062,
        JPY: 136.39,
        SGD: 1.3404,
        INR: 82.295
    },
    {
        USD: new Date('2023-05-17'),
        EUR: 0.92249,
        JPY: 137.59,
        SGD: 1.3421,
        INR: 82.458
    },
    {
        USD: new Date('2023-05-18'),
        EUR: 0.92798,
        JPY: 138.65,
        SGD: 1.3478,
        INR: 82.726
    },
    {
        USD: new Date('2023-05-19'),
        EUR: 0.92391,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.842
    },
    {
        USD: new Date('2023-05-20'),
        EUR: 0.92447,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.843
    },
    {
        USD: new Date('2023-05-21'),
        EUR: 0.92428,
        JPY: 137.66,
        SGD: 1.3451,
        INR: 82.883
    },
    {
        USD: new Date('2023-05-22'),
        EUR: 0.92482,
        JPY: 138.57,
        SGD: 1.3464,
        INR: 82.822
    },
    {
        USD: new Date('2023-05-23'),
        EUR: 0.92833,
        JPY: 138.53,
        SGD: 1.3469,
        INR: 82.897
    },
    {
        USD: new Date('2023-05-24'),
        EUR: 0.92982,
        JPY: 139.22,
        SGD: 1.3490,
        INR: 82.705
    },
    {
        USD: new Date('2023-05-25'),
        EUR: 0.93225,
        JPY: 139.94,
        SGD: 1.3544,
        INR: 82.734
    },
    {
        USD: new Date('2023-05-26'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-27'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-28'),
        EUR: 0.93286,
        JPY: 140.78,
        SGD: 1.3530,
        INR: 82.569
    },
    {
        USD: new Date('2023-05-29'),
        EUR: 0.93372,
        JPY: 140.49,
        SGD: 1.3538,
        INR: 82.580
    },
    {
        USD: new Date('2023-05-30'),
        EUR: 0.93174,
        JPY: 139.76,
        SGD: 1.3506,
        INR: 82.682
    },
    {
        USD: new Date('2023-05-31'),
        EUR: 0.93515,
        JPY: 139.18,
        SGD: 1.3514,
        INR: 82.669
    },
    {
        USD: new Date('2023-06-01'),
        EUR: 0.92911,
        JPY: 138.77,
        SGD: 1.3473,
        INR: 82.280
    },
    {
        USD: new Date('2023-06-02'),
        EUR: 0.93342,
        JPY: 139.95,
        SGD: 1.3505,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-03'),
        EUR: 0.93341,
        JPY: 139.96,
        SGD: 1.3504,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-04'),
        EUR: 0.93425,
        JPY: 140.06,
        SGD: 1.3504,
        INR: 82.407
    },
    {
        USD: new Date('2023-06-05'),
        EUR: 0.93341,
        JPY: 139.46,
        SGD: 1.3493,
        INR: 82.506
    },
    {
        USD: new Date('2023-06-06'),
        EUR: 0.93505,
        JPY: 139.61,
        SGD: 1.3483,
        INR: 82.520
    },
    {
        USD: new Date('2023-06-07'),
        EUR: 0.93464,
        JPY: 140.03,
        SGD: 1.3487,
        INR: 82.625
    },
    {
        USD: new Date('2023-06-08'),
        EUR: 0.92739,
        JPY: 138.90,
        SGD: 1.3427,
        INR: 82.481
    },
    {
        USD: new Date('2023-06-09'),
        EUR: 0.93028,
        JPY: 139.40,
        SGD: 1.3441,
        INR: 82.425
    },
    {
        USD: new Date('2023-06-10'),
        EUR: 0.92992,
        JPY: 139.39,
        SGD: 1.3440,
        INR: 82.421
    },
    {
        USD: new Date('2023-06-11'),
        EUR: 0.93066,
        JPY: 139.43,
        SGD: 1.3438,
        INR: 82.435
    },
    {
        USD: new Date('2023-06-12'),
        EUR: 0.92927,
        JPY: 139.56,
        SGD: 1.3435,
        INR: 82.329
    },
    {
        USD: new Date('2023-06-13'),
        EUR: 0.92665,
        JPY: 140.14,
        SGD: 1.3421,
        INR: 82.290
    },
    {
        USD: new Date('2023-06-14'),
        EUR: 0.92307,
        JPY: 140.06,
        SGD: 1.3414,
        INR: 82.045
    },
    {
        USD: new Date('2023-06-15'),
        EUR: 0.91334,
        JPY: 140.18,
        SGD: 1.3361,
        INR: 81.910
    },
    {
        USD: new Date('2023-06-16'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-17'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-18'),
        EUR: 0.91401,
        JPY: 141.89,
        SGD: 1.3374,
        INR: 81.916
    },
    {
        USD: new Date('2023-06-19'),
        EUR: 0.91539,
        JPY: 141.92,
        SGD: 1.3405,
        INR: 81.982
    },
    {
        USD: new Date('2023-06-20'),
        EUR: 0.91579,
        JPY: 141.36,
        SGD: 1.3431,
        INR: 81.992
    },
    {
        USD: new Date('2023-06-21'),
        EUR: 0.91008,
        JPY: 141.72,
        SGD: 1.3402,
        INR: 81.944
    },
    {
        USD: new Date('2023-06-22'),
        EUR: 0.91292,
        JPY: 143.06,
        SGD: 1.3452,
        INR: 81.900
    },
    {
        USD: new Date('2023-06-23'),
        EUR: 0.91498,
        JPY: 143.72,
        SGD: 1.3508,
        INR: 81.971
    },
    {
        USD: new Date('2023-06-24'),
        EUR: 0.91608,
        JPY: 143.69,
        SGD: 1.3518,
        INR: 81.985
    },
    {
        USD: new Date('2023-06-25'),
        EUR: 0.91684,
        JPY: 143.46,
        SGD: 1.3518,
        INR: 81.961
    },
    {
        USD: new Date('2023-06-26'),
        EUR: 0.91655,
        JPY: 143.43,
        SGD: 1.3535,
        INR: 82.005
    },
    {
        USD: new Date('2023-06-27'),
        EUR: 0.91254,
        JPY: 143.97,
        SGD: 1.3493,
        INR: 82.000
    },
    {
        USD: new Date('2023-06-28'),
        EUR: 0.91607,
        JPY: 144.35,
        SGD: 1.3528,
        INR: 82.025
    },
    {
        USD: new Date('2023-06-29'),
        EUR: 0.92032,
        JPY: 144.77,
        SGD: 1.3561,
        INR: 82.073
    },
    {
        USD: new Date('2023-06-30'),
        EUR: 0.91610,
        JPY: 144.31,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-01'),
        EUR: 0.91610,
        JPY: 144.34,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-02'),
        EUR: 0.91660,
        JPY: 144.33,
        SGD: 1.3521,
        INR: 82.097
    },
    {
        USD: new Date('2023-07-03'),
        EUR: 0.91631,
        JPY: 144.67,
        SGD: 1.3511,
        INR: 81.967
    },
    {
        USD: new Date('2023-07-04'),
        EUR: 0.91908,
        JPY: 144.46,
        SGD: 1.3494,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-05'),
        EUR: 0.92119,
        JPY: 144.54,
        SGD: 1.3533,
        INR: 82.395
    },
    {
        USD: new Date('2023-07-06'),
        EUR: 0.91822,
        JPY: 144.05,
        SGD: 1.3531,
        INR: 82.770
    },
    {
        USD: new Date('2023-07-07'),
        EUR: 0.91113,
        JPY: 142.09,
        SGD: 1.3503,
        INR: 82.651
    },
    {
        USD: new Date('2023-07-08'),
        EUR: 0.91152,
        JPY: 142.11,
        SGD: 1.3499,
        INR: 82.647
    },
    {
        USD: new Date('2023-07-09'),
        EUR: 0.91190,
        JPY: 142.18,
        SGD: 1.3465,
        INR: 82.628
    },
    {
        USD: new Date('2023-07-10'),
        EUR: 0.90896,
        JPY: 141.31,
        SGD: 1.3444,
        INR: 82.536
    },
    {
        USD: new Date('2023-07-11'),
        EUR: 0.90808,
        JPY: 140.22,
        SGD: 1.3406,
        INR: 82.384
    },
    {
        USD: new Date('2023-07-12'),
        EUR: 0.89801,
        JPY: 138.38,
        SGD: 1.3300,
        INR: 81.975
    },
    {
        USD: new Date('2023-07-13'),
        EUR: 0.89080,
        JPY: 138.02,
        SGD: 1.3223,
        INR: 82.031
    },
    {
        USD: new Date('2023-07-14'),
        EUR: 0.88939,
        JPY: 138.69,
        SGD: 1.3211,
        INR: 82.134
    },
    {
        USD: new Date('2023-07-15'),
        EUR: 0.88992,
        JPY: 138.69,
        SGD: 1.3209,
        INR: 82.116
    },
    {
        USD: new Date('2023-07-16'),
        EUR: 0.89084,
        JPY: 138.76,
        SGD: 1.3219,
        INR: 82.075
    },
    {
        USD: new Date('2023-07-17'),
        EUR: 0.88965,
        JPY: 138.71,
        SGD: 1.3216,
        INR: 82.057
    },
    {
        USD: new Date('2023-07-18'),
        EUR: 0.89041,
        JPY: 138.94,
        SGD: 1.3225,
        INR: 82.076
    },
    {
        USD: new Date('2023-07-19'),
        EUR: 0.89269,
        JPY: 139.62,
        SGD: 1.3251,
        INR: 82.065
    },
    {
        USD: new Date('2023-07-20'),
        EUR: 0.89814,
        JPY: 139.98,
        SGD: 1.3267,
        INR: 82.084
    },
    {
        USD: new Date('2023-07-21'),
        EUR: 0.89824,
        JPY: 141.78,
        SGD: 1.3309,
        INR: 82.003
    },
    {
        USD: new Date('2023-07-22'),
        EUR: 0.89857,
        JPY: 141.78,
        SGD: 1.3306,
        INR: 82.004
    },
    {
        USD: new Date('2023-07-23'),
        EUR: 0.89864,
        JPY: 141.75,
        SGD: 1.3308,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-24'),
        EUR: 0.90382,
        JPY: 141.51,
        SGD: 1.3317,
        INR: 81.814
    },
    {
        USD: new Date('2023-07-25'),
        EUR: 0.90485,
        JPY: 140.92,
        SGD: 1.3278,
        INR: 81.956
    },
    {
        USD: new Date('2023-07-26'),
        EUR: 0.90178,
        JPY: 140.41,
        SGD: 1.3254,
        INR: 81.976
    },
    {
        USD: new Date('2023-07-27'),
        EUR: 0.91046,
        JPY: 139.18,
        SGD: 1.3305,
        INR: 82.373
    },
    {
        USD: new Date('2023-07-28'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.260
    },
    {
        USD: new Date('2023-07-29'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.266
    },
    {
        USD: new Date('2023-07-30'),
        EUR: 0.90709,
        JPY: 140.93,
        SGD: 1.3319,
        INR: 82.263
    },
    {
        USD: new Date('2023-07-31'),
        EUR: 0.90896,
        JPY: 142.27,
        SGD: 1.3295,
        INR: 82.241
    },
    {
        USD: new Date('2023-08-01'),
        EUR: 0.90869,
        JPY: 142.90,
        SGD: 1.3351,
        INR: 82.337
    },
    {
        USD: new Date('2023-08-02'),
        EUR: 0.91373,
        JPY: 143.22,
        SGD: 1.3413,
        INR: 82.666
    },
    {
        USD: new Date('2023-08-03'),
        EUR: 0.91309,
        JPY: 142.49,
        SGD: 1.3410,
        INR: 82.833
    },
    {
        USD: new Date('2023-08-04'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-05'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-06'),
        EUR: 0.90877,
        JPY: 141.84,
        SGD: 1.3397,
        INR: 82.687
    },
    {
        USD: new Date('2023-08-07'),
        EUR: 0.90893,
        JPY: 142.44,
        SGD: 1.3409,
        INR: 82.764
    },
    {
        USD: new Date('2023-08-08'),
        EUR: 0.91304,
        JPY: 143.36,
        SGD: 1.3479,
        INR: 82.859
    },
    {
        USD: new Date('2023-08-09'),
        EUR: 0.91092,
        JPY: 143.67,
        SGD: 1.3463,
        INR: 82.924
    },
    {
        USD: new Date('2023-08-10'),
        EUR: 0.91051,
        JPY: 144.83,
        SGD: 1.3493,
        INR: 82.918
    },
    {
        USD: new Date('2023-08-11'),
        EUR: 0.91208,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-12'),
        EUR: 0.91271,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-13'),
        EUR: 0.91401,
        JPY: 144.93,
        SGD: 1.3530,
        INR: 82.956
    },
    {
        USD: new Date('2023-08-14'),
        EUR: 0.91675,
        JPY: 145.52,
        SGD: 1.3559,
        INR: 83.407
    },
    {
        USD: new Date('2023-08-15'),
        EUR: 0.91717,
        JPY: 145.59,
        SGD: 1.3586,
        INR: 83.204
    },
    {
        USD: new Date('2023-08-16'),
        EUR: 0.91902,
        JPY: 146.29,
        SGD: 1.3595,
        INR: 83.234
    },
    {
        USD: new Date('2023-08-17'),
        EUR: 0.91966,
        JPY: 145.71,
        SGD: 1.3584,
        INR: 83.101
    },
    {
        USD: new Date('2023-08-18'),
        EUR: 0.91832,
        JPY: 145.41,
        SGD: 1.3587,
        INR: 83.157
    }
];
export let synchronizedData: Object[] = [
    {
        USD: new Date('2023-02-18'),
        EUR: 0.93316,
        JPY: 134.10,
        SGD: 1.3370,
        INR: 82.814
    },
    {
        USD: new Date('2023-02-19'),
        EUR: 0.93591,
        JPY: 134.31,
        SGD: 1.3371,
        INR: 82.773
    },
    {
        USD: new Date('2023-02-20'),
        EUR: 0.93604,
        JPY: 134.32,
        SGD: 1.3359,
        INR: 82.721
    },
    {
        USD: new Date('2023-02-21'),
        EUR: 0.93881,
        JPY: 134.97,
        SGD: 1.3402,
        INR: 82.899
    },
    {
        USD: new Date('2023-02-22'),
        EUR: 0.94289,
        JPY: 134.93,
        SGD: 1.3408,
        INR: 82.843
    },
    {
        USD: new Date('2023-02-23'),
        EUR: 0.94358,
        JPY: 134.63,
        SGD: 1.3428,
        INR: 82.636
    },
    {
        USD: new Date('2023-02-24'),
        EUR: 0.94473,
        JPY: 136.47,
        SGD: 1.3500,
        INR: 82.933
    },
    {
        USD: new Date('2023-02-25'),
        EUR: 0.94584,
        JPY: 136.48,
        SGD: 1.3499,
        INR: 82.929
    },
    {
        USD: new Date('2023-02-26'),
        EUR: 0.94745,
        JPY: 136.40,
        SGD: 1.3498,
        INR: 82.928
    },
    {
        USD: new Date('2023-02-27'),
        EUR: 0.94262,
        JPY: 136.32,
        SGD: 1.3469,
        INR: 82.673
    },
    {
        USD: new Date('2023-02-28'),
        EUR: 0.94548,
        JPY: 136.35,
        SGD: 1.3484,
        INR: 82.641
    },
    {
        USD: new Date('2023-03-01'),
        EUR: 0.93722,
        JPY: 136.20,
        SGD: 1.3420,
        INR: 82.418
    },
    {
        USD: new Date('2023-03-02'),
        EUR: 0.94344,
        JPY: 136.70,
        SGD: 1.3473,
        INR: 82.349
    },
    {
        USD: new Date('2023-03-03'),
        EUR: 0.93901,
        JPY: 135.85,
        SGD: 1.3452,
        INR: 81.712
    },
    {
        USD: new Date('2023-03-04'),
        EUR: 0.93968,
        JPY: 135.84,
        SGD: 1.3452,
        INR: 81.713
    },
    {
        USD: new Date('2023-03-05'),
        EUR: 0.94106,
        JPY: 136.02,
        SGD: 1.3455,
        INR: 81.742
    },
    {
        USD: new Date('2023-03-06'),
        EUR: 0.93573,
        JPY: 135.99,
        SGD: 1.3451,
        INR: 81.858
    },
    {
        USD: new Date('2023-03-07'),
        EUR: 0.94792,
        JPY: 137.38,
        SGD: 1.3544,
        INR: 82.072
    },
    {
        USD: new Date('2023-03-08'),
        EUR: 0.94793,
        JPY: 137.24,
        SGD: 1.3533,
        INR: 81.960
    },
    {
        USD: new Date('2023-03-09'),
        EUR: 0.94480,
        JPY: 136.41,
        SGD: 1.3532,
        INR: 82.011
    },
    {
        USD: new Date('2023-03-10'),
        EUR: 0.93842,
        JPY: 135.00,
        SGD: 1.3488,
        INR: 82.018
    },
    {
        USD: new Date('2023-03-11'),
        EUR: 0.93926,
        JPY: 134.99,
        SGD: 1.3489,
        INR: 81.966
    },
    {
        USD: new Date('2023-03-12'),
        EUR: 0.93600,
        JPY: 134.98,
        SGD: 1.3475,
        INR: 82.019
    },
    {
        USD: new Date('2023-03-13'),
        EUR: 0.93246,
        JPY: 133.12,
        SGD: 1.3474,
        INR: 82.422
    },
    {
        USD: new Date('2023-03-14'),
        EUR: 0.93219,
        JPY: 134.40,
        SGD: 1.3452,
        INR: 82.309
    },
    {
        USD: new Date('2023-03-15'),
        EUR: 0.94490,
        JPY: 132.94,
        SGD: 1.3512,
        INR: 82.713
    },
    {
        USD: new Date('2023-03-16'),
        EUR: 0.94220,
        JPY: 133.38,
        SGD: 1.3461,
        INR: 82.642
    },
    {
        USD: new Date('2023-03-17'),
        EUR: 0.93006,
        JPY: 131.84,
        SGD: 1.3416,
        INR: 82.531
    },
    {
        USD: new Date('2023-03-18'),
        EUR: 0.92806,
        JPY: 131.85,
        SGD: 1.3415,
        INR: 82.536
    },
    {
        USD: new Date('2023-03-19'),
        EUR: 0.93648,
        JPY: 132.29,
        SGD: 1.3406,
        INR: 82.544
    },
    {
        USD: new Date('2023-03-20'),
        EUR: 0.93295,
        JPY: 131.40,
        SGD: 1.3377,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-21'),
        EUR: 0.92817,
        JPY: 132.36,
        SGD: 1.3370,
        INR: 82.663
    },
    {
        USD: new Date('2023-03-22'),
        EUR: 0.92003,
        JPY: 131.18,
        SGD: 1.3297,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-23'),
        EUR: 0.92290,
        JPY: 130.80,
        SGD: 1.3278,
        INR: 82.253
    },
    {
        USD: new Date('2023-03-24'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-25'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-26'),
        EUR: 0.92789,
        JPY: 130.79,
        SGD: 1.3316,
        INR: 82.348
    },
    {
        USD: new Date('2023-03-27'),
        EUR: 0.92601,
        JPY: 131.48,
        SGD: 1.3312,
        INR: 82.240
    },
    {
        USD: new Date('2023-03-28'),
        EUR: 0.92242,
        JPY: 130.85,
        SGD: 1.3277,
        INR: 82.164
    },
    {
        USD: new Date('2023-03-29'),
        EUR: 0.92205,
        JPY: 132.66,
        SGD: 1.3292,
        INR: 82.246
    },
    {
        USD: new Date('2023-03-30'),
        EUR: 0.91709,
        JPY: 132.81,
        SGD: 1.3276,
        INR: 82.103
    },
    {
        USD: new Date('2023-03-31'),
        EUR: 0.92020,
        JPY: 132.78,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-01'),
        EUR: 0.92021,
        JPY: 132.77,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-02'),
        EUR: 0.92422,
        JPY: 133.26,
        SGD: 1.3328,
        INR: 82.201
    },
    {
        USD: new Date('2023-04-03'),
        EUR: 0.91706,
        JPY: 132.34,
        SGD: 1.3269,
        INR: 82.147
    },
    {
        USD: new Date('2023-04-04'),
        EUR: 0.91257,
        JPY: 131.68,
        SGD: 1.3255,
        INR: 82.138
    },
    {
        USD: new Date('2023-04-05'),
        EUR: 0.91665,
        JPY: 131.12,
        SGD: 1.3281,
        INR: 81.960
    },
    {
        USD: new Date('2023-04-06'),
        EUR: 0.91605,
        JPY: 131.84,
        SGD: 1.3306,
        INR: 81.825
    },
    {
        USD: new Date('2023-04-07'),
        EUR: 0.90949,
        JPY: 132.15,
        SGD: 1.3321,
        INR: 81.875
    },
    {
        USD: new Date('2023-04-08'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-09'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-10'),
        EUR: 0.92040,
        JPY: 133.54,
        SGD: 1.3324,
        INR: 81.977
    },
    {
        USD: new Date('2023-04-11'),
        EUR: 0.91601,
        JPY: 133.62,
        SGD: 1.3324,
        INR: 82.079
    },
    {
        USD: new Date('2023-04-12'),
        EUR: 0.90951,
        JPY: 133.07,
        SGD: 1.3279,
        INR: 81.951
    },
    {
        USD: new Date('2023-04-13'),
        EUR: 0.90513,
        JPY: 132.59,
        SGD: 1.3222,
        INR: 81.691
    },
    {
        USD: new Date('2023-04-14'),
        EUR: 0.90139,
        JPY: 133.83,
        SGD: 1.3303,
        INR: 81.852
    },
    {
        USD: new Date('2023-04-15'),
        EUR: 0.90067,
        JPY: 133.81,
        SGD: 1.3304,
        INR: 81.842
    },
    {
        USD: new Date('2023-04-16'),
        EUR: 0.91013,
        JPY: 133.91,
        SGD: 1.3311,
        INR: 81.857
    },
    {
        USD: new Date('2023-04-17'),
        EUR: 0.91539,
        JPY: 134.46,
        SGD: 1.3342,
        INR: 82.004
    },
    {
        USD: new Date('2023-04-18'),
        EUR: 0.91132,
        JPY: 134.05,
        SGD: 1.3325,
        INR: 82.107
    },
    {
        USD: new Date('2023-04-19'),
        EUR: 0.91297,
        JPY: 134.73,
        SGD: 1.3349,
        INR: 82.334
    },
    {
        USD: new Date('2023-04-20'),
        EUR: 0.91182,
        JPY: 134.18,
        SGD: 1.3326,
        INR: 82.153
    },
    {
        USD: new Date('2023-04-21'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-22'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-23'),
        EUR: 0.90977,
        JPY: 134.09,
        SGD: 1.3341,
        INR: 82.036
    },
    {
        USD: new Date('2023-04-24'),
        EUR: 0.90489,
        JPY: 134.12,
        SGD: 1.3334,
        INR: 81.855
    },
    {
        USD: new Date('2023-04-25'),
        EUR: 0.91085,
        JPY: 133.72,
        SGD: 1.3380,
        INR: 81.978
    },
    {
        USD: new Date('2023-04-26'),
        EUR: 0.90584,
        JPY: 133.58,
        SGD: 1.3354,
        INR: 81.748
    },
    {
        USD: new Date('2023-04-27'),
        EUR: 0.90684,
        JPY: 133.90,
        SGD: 1.3351,
        INR: 81.716
    },
    {
        USD: new Date('2023-04-28'),
        EUR: 0.89872,
        JPY: 136.31,
        SGD: 1.3355,
        INR: 81.745
    },
    {
        USD: new Date('2023-04-29'),
        EUR: 0.89861,
        JPY: 136.32,
        SGD: 1.3353,
        INR: 81.742
    },
    {
        USD: new Date('2023-04-30'),
        EUR: 0.90810,
        JPY: 136.24,
        SGD: 1.3349,
        INR: 81.764
    },
    {
        USD: new Date('2023-05-01'),
        EUR: 0.91123,
        JPY: 137.45,
        SGD: 1.3363,
        INR: 81.780
    },
    {
        USD: new Date('2023-05-02'),
        EUR: 0.90859,
        JPY: 136.52,
        SGD: 1.3346,
        INR: 81.770
    },
    {
        USD: new Date('2023-05-03'),
        EUR: 0.90346,
        JPY: 134.61,
        SGD: 1.3303,
        INR: 81.804
    },
    {
        USD: new Date('2023-05-04'),
        EUR: 0.90740,
        JPY: 134.29,
        SGD: 1.3277,
        INR: 81.698
    },
    {
        USD: new Date('2023-05-05'),
        EUR: 0.89849,
        JPY: 134.84,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-06'),
        EUR: 0.89200,
        JPY: 134.83,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-07'),
        EUR: 0.90768,
        JPY: 135.04,
        SGD: 1.3257,
        INR: 81.720
    },
    {
        USD: new Date('2023-05-08'),
        EUR: 0.90893,
        JPY: 135.01,
        SGD: 1.3251,
        INR: 81.787
    },
    {
        USD: new Date('2023-05-09'),
        EUR: 0.91193,
        JPY: 135.20,
        SGD: 1.3271,
        INR: 82.102
    },
    {
        USD: new Date('2023-05-10'),
        EUR: 0.91019,
        JPY: 134.20,
        SGD: 1.3247,
        INR: 81.913
    },
    {
        USD: new Date('2023-05-11'),
        EUR: 0.91601,
        JPY: 134.52,
        SGD: 1.3315,
        INR: 82.094
    },
    {
        USD: new Date('2023-05-12'),
        EUR: 0.91412,
        JPY: 135.75,
        SGD: 1.3388,
        INR: 82.256
    },
    {
        USD: new Date('2023-05-13'),
        EUR: 0.91429,
        JPY: 135.73,
        SGD: 1.3384,
        INR: 82.197
    },
    {
        USD: new Date('2023-05-14'),
        EUR: 0.92153,
        JPY: 135.78,
        SGD: 1.3385,
        INR: 82.228
    },
    {
        USD: new Date('2023-05-15'),
        EUR: 0.91939,
        JPY: 136.02,
        SGD: 1.3362,
        INR: 82.270
    },
    {
        USD: new Date('2023-05-16'),
        EUR: 0.92062,
        JPY: 136.39,
        SGD: 1.3404,
        INR: 82.295
    },
    {
        USD: new Date('2023-05-17'),
        EUR: 0.92249,
        JPY: 137.59,
        SGD: 1.3421,
        INR: 82.458
    },
    {
        USD: new Date('2023-05-18'),
        EUR: 0.92798,
        JPY: 138.65,
        SGD: 1.3478,
        INR: 82.726
    },
    {
        USD: new Date('2023-05-19'),
        EUR: 0.92391,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.842
    },
    {
        USD: new Date('2023-05-20'),
        EUR: 0.92447,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.843
    },
    {
        USD: new Date('2023-05-21'),
        EUR: 0.92428,
        JPY: 137.66,
        SGD: 1.3451,
        INR: 82.883
    },
    {
        USD: new Date('2023-05-22'),
        EUR: 0.92482,
        JPY: 138.57,
        SGD: 1.3464,
        INR: 82.822
    },
    {
        USD: new Date('2023-05-23'),
        EUR: 0.92833,
        JPY: 138.53,
        SGD: 1.3469,
        INR: 82.897
    },
    {
        USD: new Date('2023-05-24'),
        EUR: 0.92982,
        JPY: 139.22,
        SGD: 1.3490,
        INR: 82.705
    },
    {
        USD: new Date('2023-05-25'),
        EUR: 0.93225,
        JPY: 139.94,
        SGD: 1.3544,
        INR: 82.734
    },
    {
        USD: new Date('2023-05-26'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-27'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-28'),
        EUR: 0.93286,
        JPY: 140.78,
        SGD: 1.3530,
        INR: 82.569
    },
    {
        USD: new Date('2023-05-29'),
        EUR: 0.93372,
        JPY: 140.49,
        SGD: 1.3538,
        INR: 82.580
    },
    {
        USD: new Date('2023-05-30'),
        EUR: 0.93174,
        JPY: 139.76,
        SGD: 1.3506,
        INR: 82.682
    },
    {
        USD: new Date('2023-05-31'),
        EUR: 0.93515,
        JPY: 139.18,
        SGD: 1.3514,
        INR: 82.669
    },
    {
        USD: new Date('2023-06-01'),
        EUR: 0.92911,
        JPY: 138.77,
        SGD: 1.3473,
        INR: 82.280
    },
    {
        USD: new Date('2023-06-02'),
        EUR: 0.93342,
        JPY: 139.95,
        SGD: 1.3505,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-03'),
        EUR: 0.93341,
        JPY: 139.96,
        SGD: 1.3504,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-04'),
        EUR: 0.93425,
        JPY: 140.06,
        SGD: 1.3504,
        INR: 82.407
    },
    {
        USD: new Date('2023-06-05'),
        EUR: 0.93341,
        JPY: 139.46,
        SGD: 1.3493,
        INR: 82.506
    },
    {
        USD: new Date('2023-06-06'),
        EUR: 0.93505,
        JPY: 139.61,
        SGD: 1.3483,
        INR: 82.520
    },
    {
        USD: new Date('2023-06-07'),
        EUR: 0.93464,
        JPY: 140.03,
        SGD: 1.3487,
        INR: 82.625
    },
    {
        USD: new Date('2023-06-08'),
        EUR: 0.92739,
        JPY: 138.90,
        SGD: 1.3427,
        INR: 82.481
    },
    {
        USD: new Date('2023-06-09'),
        EUR: 0.93028,
        JPY: 139.40,
        SGD: 1.3441,
        INR: 82.425
    },
    {
        USD: new Date('2023-06-10'),
        EUR: 0.92992,
        JPY: 139.39,
        SGD: 1.3440,
        INR: 82.421
    },
    {
        USD: new Date('2023-06-11'),
        EUR: 0.93066,
        JPY: 139.43,
        SGD: 1.3438,
        INR: 82.435
    },
    {
        USD: new Date('2023-06-12'),
        EUR: 0.92927,
        JPY: 139.56,
        SGD: 1.3435,
        INR: 82.329
    },
    {
        USD: new Date('2023-06-13'),
        EUR: 0.92665,
        JPY: 140.14,
        SGD: 1.3421,
        INR: 82.290
    },
    {
        USD: new Date('2023-06-14'),
        EUR: 0.92307,
        JPY: 140.06,
        SGD: 1.3414,
        INR: 82.045
    },
    {
        USD: new Date('2023-06-15'),
        EUR: 0.91334,
        JPY: 140.18,
        SGD: 1.3361,
        INR: 81.910
    },
    {
        USD: new Date('2023-06-16'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-17'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-18'),
        EUR: 0.91401,
        JPY: 141.89,
        SGD: 1.3374,
        INR: 81.916
    },
    {
        USD: new Date('2023-06-19'),
        EUR: 0.91539,
        JPY: 141.92,
        SGD: 1.3405,
        INR: 81.982
    },
    {
        USD: new Date('2023-06-20'),
        EUR: 0.91579,
        JPY: 141.36,
        SGD: 1.3431,
        INR: 81.992
    },
    {
        USD: new Date('2023-06-21'),
        EUR: 0.91008,
        JPY: 141.72,
        SGD: 1.3402,
        INR: 81.944
    },
    {
        USD: new Date('2023-06-22'),
        EUR: 0.91292,
        JPY: 143.06,
        SGD: 1.3452,
        INR: 81.900
    },
    {
        USD: new Date('2023-06-23'),
        EUR: 0.91498,
        JPY: 143.72,
        SGD: 1.3508,
        INR: 81.971
    },
    {
        USD: new Date('2023-06-24'),
        EUR: 0.91608,
        JPY: 143.69,
        SGD: 1.3518,
        INR: 81.985
    },
    {
        USD: new Date('2023-06-25'),
        EUR: 0.91684,
        JPY: 143.46,
        SGD: 1.3518,
        INR: 81.961
    },
    {
        USD: new Date('2023-06-26'),
        EUR: 0.91655,
        JPY: 143.43,
        SGD: 1.3535,
        INR: 82.005
    },
    {
        USD: new Date('2023-06-27'),
        EUR: 0.91254,
        JPY: 143.97,
        SGD: 1.3493,
        INR: 82.000
    },
    {
        USD: new Date('2023-06-28'),
        EUR: 0.91607,
        JPY: 144.35,
        SGD: 1.3528,
        INR: 82.025
    },
    {
        USD: new Date('2023-06-29'),
        EUR: 0.92032,
        JPY: 144.77,
        SGD: 1.3561,
        INR: 82.073
    },
    {
        USD: new Date('2023-06-30'),
        EUR: 0.91610,
        JPY: 144.31,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-01'),
        EUR: 0.91610,
        JPY: 144.34,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-02'),
        EUR: 0.91660,
        JPY: 144.33,
        SGD: 1.3521,
        INR: 82.097
    },
    {
        USD: new Date('2023-07-03'),
        EUR: 0.91631,
        JPY: 144.67,
        SGD: 1.3511,
        INR: 81.967
    },
    {
        USD: new Date('2023-07-04'),
        EUR: 0.91908,
        JPY: 144.46,
        SGD: 1.3494,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-05'),
        EUR: 0.92119,
        JPY: 144.54,
        SGD: 1.3533,
        INR: 82.395
    },
    {
        USD: new Date('2023-07-06'),
        EUR: 0.91822,
        JPY: 144.05,
        SGD: 1.3531,
        INR: 82.770
    },
    {
        USD: new Date('2023-07-07'),
        EUR: 0.91113,
        JPY: 142.09,
        SGD: 1.3503,
        INR: 82.651
    },
    {
        USD: new Date('2023-07-08'),
        EUR: 0.91152,
        JPY: 142.11,
        SGD: 1.3499,
        INR: 82.647
    },
    {
        USD: new Date('2023-07-09'),
        EUR: 0.91190,
        JPY: 142.18,
        SGD: 1.3465,
        INR: 82.628
    },
    {
        USD: new Date('2023-07-10'),
        EUR: 0.90896,
        JPY: 141.31,
        SGD: 1.3444,
        INR: 82.536
    },
    {
        USD: new Date('2023-07-11'),
        EUR: 0.90808,
        JPY: 140.22,
        SGD: 1.3406,
        INR: 82.384
    },
    {
        USD: new Date('2023-07-12'),
        EUR: 0.89801,
        JPY: 138.38,
        SGD: 1.3300,
        INR: 81.975
    },
    {
        USD: new Date('2023-07-13'),
        EUR: 0.89080,
        JPY: 138.02,
        SGD: 1.3223,
        INR: 82.031
    },
    {
        USD: new Date('2023-07-14'),
        EUR: 0.88939,
        JPY: 138.69,
        SGD: 1.3211,
        INR: 82.134
    },
    {
        USD: new Date('2023-07-15'),
        EUR: 0.88992,
        JPY: 138.69,
        SGD: 1.3209,
        INR: 82.116
    },
    {
        USD: new Date('2023-07-16'),
        EUR: 0.89084,
        JPY: 138.76,
        SGD: 1.3219,
        INR: 82.075
    },
    {
        USD: new Date('2023-07-17'),
        EUR: 0.88965,
        JPY: 138.71,
        SGD: 1.3216,
        INR: 82.057
    },
    {
        USD: new Date('2023-07-18'),
        EUR: 0.89041,
        JPY: 138.94,
        SGD: 1.3225,
        INR: 82.076
    },
    {
        USD: new Date('2023-07-19'),
        EUR: 0.89269,
        JPY: 139.62,
        SGD: 1.3251,
        INR: 82.065
    },
    {
        USD: new Date('2023-07-20'),
        EUR: 0.89814,
        JPY: 139.98,
        SGD: 1.3267,
        INR: 82.084
    },
    {
        USD: new Date('2023-07-21'),
        EUR: 0.89824,
        JPY: 141.78,
        SGD: 1.3309,
        INR: 82.003
    },
    {
        USD: new Date('2023-07-22'),
        EUR: 0.89857,
        JPY: 141.78,
        SGD: 1.3306,
        INR: 82.004
    },
    {
        USD: new Date('2023-07-23'),
        EUR: 0.89864,
        JPY: 141.75,
        SGD: 1.3308,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-24'),
        EUR: 0.90382,
        JPY: 141.51,
        SGD: 1.3317,
        INR: 81.814
    },
    {
        USD: new Date('2023-07-25'),
        EUR: 0.90485,
        JPY: 140.92,
        SGD: 1.3278,
        INR: 81.956
    },
    {
        USD: new Date('2023-07-26'),
        EUR: 0.90178,
        JPY: 140.41,
        SGD: 1.3254,
        INR: 81.976
    },
    {
        USD: new Date('2023-07-27'),
        EUR: 0.91046,
        JPY: 139.18,
        SGD: 1.3305,
        INR: 82.373
    },
    {
        USD: new Date('2023-07-28'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.260
    },
    {
        USD: new Date('2023-07-29'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.266
    },
    {
        USD: new Date('2023-07-30'),
        EUR: 0.90709,
        JPY: 140.93,
        SGD: 1.3319,
        INR: 82.263
    },
    {
        USD: new Date('2023-07-31'),
        EUR: 0.90896,
        JPY: 142.27,
        SGD: 1.3295,
        INR: 82.241
    },
    {
        USD: new Date('2023-08-01'),
        EUR: 0.90869,
        JPY: 142.90,
        SGD: 1.3351,
        INR: 82.337
    },
    {
        USD: new Date('2023-08-02'),
        EUR: 0.91373,
        JPY: 143.22,
        SGD: 1.3413,
        INR: 82.666
    },
    {
        USD: new Date('2023-08-03'),
        EUR: 0.91309,
        JPY: 142.49,
        SGD: 1.3410,
        INR: 82.833
    },
    {
        USD: new Date('2023-08-04'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-05'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-06'),
        EUR: 0.90877,
        JPY: 141.84,
        SGD: 1.3397,
        INR: 82.687
    },
    {
        USD: new Date('2023-08-07'),
        EUR: 0.90893,
        JPY: 142.44,
        SGD: 1.3409,
        INR: 82.764
    },
    {
        USD: new Date('2023-08-08'),
        EUR: 0.91304,
        JPY: 143.36,
        SGD: 1.3479,
        INR: 82.859
    },
    {
        USD: new Date('2023-08-09'),
        EUR: 0.91092,
        JPY: 143.67,
        SGD: 1.3463,
        INR: 82.924
    },
    {
        USD: new Date('2023-08-10'),
        EUR: 0.91051,
        JPY: 144.83,
        SGD: 1.3493,
        INR: 82.918
    },
    {
        USD: new Date('2023-08-11'),
        EUR: 0.91208,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-12'),
        EUR: 0.91271,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-13'),
        EUR: 0.91401,
        JPY: 144.93,
        SGD: 1.3530,
        INR: 82.956
    },
    {
        USD: new Date('2023-08-14'),
        EUR: 0.91675,
        JPY: 145.52,
        SGD: 1.3559,
        INR: 83.407
    },
    {
        USD: new Date('2023-08-15'),
        EUR: 0.91717,
        JPY: 145.59,
        SGD: 1.3586,
        INR: 83.204
    },
    {
        USD: new Date('2023-08-16'),
        EUR: 0.91902,
        JPY: 146.29,
        SGD: 1.3595,
        INR: 83.234
    },
    {
        USD: new Date('2023-08-17'),
        EUR: 0.91966,
        JPY: 145.71,
        SGD: 1.3584,
        INR: 83.101
    },
    {
        USD: new Date('2023-08-18'),
        EUR: 0.91832,
        JPY: 145.41,
        SGD: 1.3587,
        INR: 83.157
    }
];

Zooming synchronization

You can maintain constant zoom levels across multiple charts using the zoomComplete event. In the zoomComplete event, obtain the zoomFactor and zoomPosition values of the particular chart, and then apply those values to the other charts.

import * as ReactDOM from "react-dom";
import { Chart, SplineAreaSeries, LineSeries, DateTime, Zoom, IZoomCompleteEventArgs, Selection, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import * as React from 'react';
import { Browser } from '@syncfusion/ej2-base';

function App() {
    let chart1 = React.useRef(null);
    let chart2 = React.useRef(null);

    let charts = [];
    React.useEffect(() => {
        charts = [chart1.current, chart2.current];
    }, []);
    let zoomFactor = 0;
    let zoomPosition = 0;

    let zoomComplete = (args) => {
        if (args.axis.name === 'primaryXAxis') {
            zoomFactor = args.currentZoomFactor;
            zoomPosition = args.currentZoomPosition;
            zoomCompleteFunction(args);
        }
    };

    let zoomCompleteFunction = (args) => {
        for (let i = 0; i < charts.length; i++) {
            if (args.axis.series[0].chart.element.id !== charts[i].element.id) {
                charts[i].primaryXAxis.zoomFactor = zoomFactor;
                charts[i].primaryXAxis.zoomPosition = zoomPosition;
                charts[i].zoomModule.isZoomed = args.axis.series[0].chart.zoomModule.isZoomed;
                charts[i].zoomModule.isPanning = args.axis.series[0].chart.zoomModule.isPanning;
            }
        }
    }
    return <div className="control-section">
        <div className="row">
            <div className="col">
                <ChartComponent
                    id="container1"
                    ref={chart1}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n2',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 0.86,
                        maximum: 0.96,
                        interval: 0.025
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableMouseWheelZooming: true,
                        enablePinchZooming: true,
                        enableScrollbar: false,
                        enableDeferredZooming: false,
                        enableSelectionZooming: true,
                        enablePan: true,
                        mode: 'X',
                        toolbarItems: ['Pan', 'Reset']
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to Euro">
                    <Inject services={[LineSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Line" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
            <div className="col">
                <ChartComponent
                    id="container2"
                    ref={chart2}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n1',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 79,
                        maximum: 85,
                        interval: 1.5
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableMouseWheelZooming: true,
                        enablePinchZooming: true,
                        enableScrollbar: false,
                        enableDeferredZooming: false,
                        enableSelectionZooming: true,
                        enablePan: true,
                        mode: 'X',
                        toolbarItems: ['Pan', 'Reset']
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to INR">
                    <Inject services={[SplineAreaSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="SplineArea" dataSource={synchronizedData} xName="USD" yName="INR" opacity={0.6} width={2} border={{ width: 2 }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
        </div>
    </div>
}
;
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
import * as ReactDOM from "react-dom";
import { Chart, SplineAreaSeries, LineSeries, DateTime, Zoom, IZoomCompleteEventArgs, Selection, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import * as React from "react";
import { Browser } from '@syncfusion/ej2-base';


function App() {

    let chart1 = React.useRef<ChartComponent>(null);
    let chart2 = React.useRef<ChartComponent>(null);

    let charts: ChartComponent[] = [];
    React.useEffect(() => {
        charts = [chart1.current, chart2.current];
    }, []);
    let zoomFactor: number = 0;
    let zoomPosition: number = 0;

    let zoomComplete = (args: IZoomCompleteEventArgs): void => {
        if (args.axis.name === 'primaryXAxis') {
            zoomFactor = args.currentZoomFactor;
            zoomPosition = args.currentZoomPosition;
            zoomCompleteFunction(args);
        }
    };

    let zoomCompleteFunction = (args: IZoomCompleteEventArgs): void => {
        for (let i: number = 0; i < charts.length; i++) {
            if (args.axis.series[0].chart.element.id !== charts[i].element.id) {
                charts[i].primaryXAxis.zoomFactor = zoomFactor;
                charts[i].primaryXAxis.zoomPosition = zoomPosition;
                charts[i].zoomModule.isZoomed = args.axis.series[0].chart.zoomModule.isZoomed;
                charts[i].zoomModule.isPanning = args.axis.series[0].chart.zoomModule.isPanning;
            }
        }
    }

    return <div className="control-section">
        <div className="row">
            <div className="col">
                <ChartComponent
                    id="container1"
                    ref={chart1}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n2',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 0.86,
                        maximum: 0.96,
                        interval: 0.025
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableMouseWheelZooming: true,
                        enablePinchZooming: true,
                        enableScrollbar: false,
                        enableDeferredZooming: false,
                        enableSelectionZooming: true,
                        enablePan: true,
                        mode: 'X',
                        toolbarItems: ['Pan', 'Reset']
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to Euro">
                    <Inject services={[LineSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Line" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
            <div className="col">
                <ChartComponent
                    id="container2"
                    ref={chart2}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n1',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 79,
                        maximum: 85,
                        interval: 1.5
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableMouseWheelZooming: true,
                        enablePinchZooming: true,
                        enableScrollbar: false,
                        enableDeferredZooming: false,
                        enableSelectionZooming: true,
                        enablePan: true,
                        mode: 'X',
                        toolbarItems: ['Pan', 'Reset']
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to INR">
                    <Inject services={[SplineAreaSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="SplineArea" dataSource={synchronizedData} xName="USD" yName="INR" opacity={0.6} width={2} border={{ width: 2 }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
        </div>
    </div>

};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
export let synchronizedData = [
    {
        USD: new Date('2023-02-18'),
        EUR: 0.93316,
        JPY: 134.10,
        SGD: 1.3370,
        INR: 82.814
    },
    {
        USD: new Date('2023-02-19'),
        EUR: 0.93591,
        JPY: 134.31,
        SGD: 1.3371,
        INR: 82.773
    },
    {
        USD: new Date('2023-02-20'),
        EUR: 0.93604,
        JPY: 134.32,
        SGD: 1.3359,
        INR: 82.721
    },
    {
        USD: new Date('2023-02-21'),
        EUR: 0.93881,
        JPY: 134.97,
        SGD: 1.3402,
        INR: 82.899
    },
    {
        USD: new Date('2023-02-22'),
        EUR: 0.94289,
        JPY: 134.93,
        SGD: 1.3408,
        INR: 82.843
    },
    {
        USD: new Date('2023-02-23'),
        EUR: 0.94358,
        JPY: 134.63,
        SGD: 1.3428,
        INR: 82.636
    },
    {
        USD: new Date('2023-02-24'),
        EUR: 0.94473,
        JPY: 136.47,
        SGD: 1.3500,
        INR: 82.933
    },
    {
        USD: new Date('2023-02-25'),
        EUR: 0.94584,
        JPY: 136.48,
        SGD: 1.3499,
        INR: 82.929
    },
    {
        USD: new Date('2023-02-26'),
        EUR: 0.94745,
        JPY: 136.40,
        SGD: 1.3498,
        INR: 82.928
    },
    {
        USD: new Date('2023-02-27'),
        EUR: 0.94262,
        JPY: 136.32,
        SGD: 1.3469,
        INR: 82.673
    },
    {
        USD: new Date('2023-02-28'),
        EUR: 0.94548,
        JPY: 136.35,
        SGD: 1.3484,
        INR: 82.641
    },
    {
        USD: new Date('2023-03-01'),
        EUR: 0.93722,
        JPY: 136.20,
        SGD: 1.3420,
        INR: 82.418
    },
    {
        USD: new Date('2023-03-02'),
        EUR: 0.94344,
        JPY: 136.70,
        SGD: 1.3473,
        INR: 82.349
    },
    {
        USD: new Date('2023-03-03'),
        EUR: 0.93901,
        JPY: 135.85,
        SGD: 1.3452,
        INR: 81.712
    },
    {
        USD: new Date('2023-03-04'),
        EUR: 0.93968,
        JPY: 135.84,
        SGD: 1.3452,
        INR: 81.713
    },
    {
        USD: new Date('2023-03-05'),
        EUR: 0.94106,
        JPY: 136.02,
        SGD: 1.3455,
        INR: 81.742
    },
    {
        USD: new Date('2023-03-06'),
        EUR: 0.93573,
        JPY: 135.99,
        SGD: 1.3451,
        INR: 81.858
    },
    {
        USD: new Date('2023-03-07'),
        EUR: 0.94792,
        JPY: 137.38,
        SGD: 1.3544,
        INR: 82.072
    },
    {
        USD: new Date('2023-03-08'),
        EUR: 0.94793,
        JPY: 137.24,
        SGD: 1.3533,
        INR: 81.960
    },
    {
        USD: new Date('2023-03-09'),
        EUR: 0.94480,
        JPY: 136.41,
        SGD: 1.3532,
        INR: 82.011
    },
    {
        USD: new Date('2023-03-10'),
        EUR: 0.93842,
        JPY: 135.00,
        SGD: 1.3488,
        INR: 82.018
    },
    {
        USD: new Date('2023-03-11'),
        EUR: 0.93926,
        JPY: 134.99,
        SGD: 1.3489,
        INR: 81.966
    },
    {
        USD: new Date('2023-03-12'),
        EUR: 0.93600,
        JPY: 134.98,
        SGD: 1.3475,
        INR: 82.019
    },
    {
        USD: new Date('2023-03-13'),
        EUR: 0.93246,
        JPY: 133.12,
        SGD: 1.3474,
        INR: 82.422
    },
    {
        USD: new Date('2023-03-14'),
        EUR: 0.93219,
        JPY: 134.40,
        SGD: 1.3452,
        INR: 82.309
    },
    {
        USD: new Date('2023-03-15'),
        EUR: 0.94490,
        JPY: 132.94,
        SGD: 1.3512,
        INR: 82.713
    },
    {
        USD: new Date('2023-03-16'),
        EUR: 0.94220,
        JPY: 133.38,
        SGD: 1.3461,
        INR: 82.642
    },
    {
        USD: new Date('2023-03-17'),
        EUR: 0.93006,
        JPY: 131.84,
        SGD: 1.3416,
        INR: 82.531
    },
    {
        USD: new Date('2023-03-18'),
        EUR: 0.92806,
        JPY: 131.85,
        SGD: 1.3415,
        INR: 82.536
    },
    {
        USD: new Date('2023-03-19'),
        EUR: 0.93648,
        JPY: 132.29,
        SGD: 1.3406,
        INR: 82.544
    },
    {
        USD: new Date('2023-03-20'),
        EUR: 0.93295,
        JPY: 131.40,
        SGD: 1.3377,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-21'),
        EUR: 0.92817,
        JPY: 132.36,
        SGD: 1.3370,
        INR: 82.663
    },
    {
        USD: new Date('2023-03-22'),
        EUR: 0.92003,
        JPY: 131.18,
        SGD: 1.3297,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-23'),
        EUR: 0.92290,
        JPY: 130.80,
        SGD: 1.3278,
        INR: 82.253
    },
    {
        USD: new Date('2023-03-24'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-25'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-26'),
        EUR: 0.92789,
        JPY: 130.79,
        SGD: 1.3316,
        INR: 82.348
    },
    {
        USD: new Date('2023-03-27'),
        EUR: 0.92601,
        JPY: 131.48,
        SGD: 1.3312,
        INR: 82.240
    },
    {
        USD: new Date('2023-03-28'),
        EUR: 0.92242,
        JPY: 130.85,
        SGD: 1.3277,
        INR: 82.164
    },
    {
        USD: new Date('2023-03-29'),
        EUR: 0.92205,
        JPY: 132.66,
        SGD: 1.3292,
        INR: 82.246
    },
    {
        USD: new Date('2023-03-30'),
        EUR: 0.91709,
        JPY: 132.81,
        SGD: 1.3276,
        INR: 82.103
    },
    {
        USD: new Date('2023-03-31'),
        EUR: 0.92020,
        JPY: 132.78,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-01'),
        EUR: 0.92021,
        JPY: 132.77,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-02'),
        EUR: 0.92422,
        JPY: 133.26,
        SGD: 1.3328,
        INR: 82.201
    },
    {
        USD: new Date('2023-04-03'),
        EUR: 0.91706,
        JPY: 132.34,
        SGD: 1.3269,
        INR: 82.147
    },
    {
        USD: new Date('2023-04-04'),
        EUR: 0.91257,
        JPY: 131.68,
        SGD: 1.3255,
        INR: 82.138
    },
    {
        USD: new Date('2023-04-05'),
        EUR: 0.91665,
        JPY: 131.12,
        SGD: 1.3281,
        INR: 81.960
    },
    {
        USD: new Date('2023-04-06'),
        EUR: 0.91605,
        JPY: 131.84,
        SGD: 1.3306,
        INR: 81.825
    },
    {
        USD: new Date('2023-04-07'),
        EUR: 0.90949,
        JPY: 132.15,
        SGD: 1.3321,
        INR: 81.875
    },
    {
        USD: new Date('2023-04-08'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-09'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-10'),
        EUR: 0.92040,
        JPY: 133.54,
        SGD: 1.3324,
        INR: 81.977
    },
    {
        USD: new Date('2023-04-11'),
        EUR: 0.91601,
        JPY: 133.62,
        SGD: 1.3324,
        INR: 82.079
    },
    {
        USD: new Date('2023-04-12'),
        EUR: 0.90951,
        JPY: 133.07,
        SGD: 1.3279,
        INR: 81.951
    },
    {
        USD: new Date('2023-04-13'),
        EUR: 0.90513,
        JPY: 132.59,
        SGD: 1.3222,
        INR: 81.691
    },
    {
        USD: new Date('2023-04-14'),
        EUR: 0.90139,
        JPY: 133.83,
        SGD: 1.3303,
        INR: 81.852
    },
    {
        USD: new Date('2023-04-15'),
        EUR: 0.90067,
        JPY: 133.81,
        SGD: 1.3304,
        INR: 81.842
    },
    {
        USD: new Date('2023-04-16'),
        EUR: 0.91013,
        JPY: 133.91,
        SGD: 1.3311,
        INR: 81.857
    },
    {
        USD: new Date('2023-04-17'),
        EUR: 0.91539,
        JPY: 134.46,
        SGD: 1.3342,
        INR: 82.004
    },
    {
        USD: new Date('2023-04-18'),
        EUR: 0.91132,
        JPY: 134.05,
        SGD: 1.3325,
        INR: 82.107
    },
    {
        USD: new Date('2023-04-19'),
        EUR: 0.91297,
        JPY: 134.73,
        SGD: 1.3349,
        INR: 82.334
    },
    {
        USD: new Date('2023-04-20'),
        EUR: 0.91182,
        JPY: 134.18,
        SGD: 1.3326,
        INR: 82.153
    },
    {
        USD: new Date('2023-04-21'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-22'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-23'),
        EUR: 0.90977,
        JPY: 134.09,
        SGD: 1.3341,
        INR: 82.036
    },
    {
        USD: new Date('2023-04-24'),
        EUR: 0.90489,
        JPY: 134.12,
        SGD: 1.3334,
        INR: 81.855
    },
    {
        USD: new Date('2023-04-25'),
        EUR: 0.91085,
        JPY: 133.72,
        SGD: 1.3380,
        INR: 81.978
    },
    {
        USD: new Date('2023-04-26'),
        EUR: 0.90584,
        JPY: 133.58,
        SGD: 1.3354,
        INR: 81.748
    },
    {
        USD: new Date('2023-04-27'),
        EUR: 0.90684,
        JPY: 133.90,
        SGD: 1.3351,
        INR: 81.716
    },
    {
        USD: new Date('2023-04-28'),
        EUR: 0.89872,
        JPY: 136.31,
        SGD: 1.3355,
        INR: 81.745
    },
    {
        USD: new Date('2023-04-29'),
        EUR: 0.89861,
        JPY: 136.32,
        SGD: 1.3353,
        INR: 81.742
    },
    {
        USD: new Date('2023-04-30'),
        EUR: 0.90810,
        JPY: 136.24,
        SGD: 1.3349,
        INR: 81.764
    },
    {
        USD: new Date('2023-05-01'),
        EUR: 0.91123,
        JPY: 137.45,
        SGD: 1.3363,
        INR: 81.780
    },
    {
        USD: new Date('2023-05-02'),
        EUR: 0.90859,
        JPY: 136.52,
        SGD: 1.3346,
        INR: 81.770
    },
    {
        USD: new Date('2023-05-03'),
        EUR: 0.90346,
        JPY: 134.61,
        SGD: 1.3303,
        INR: 81.804
    },
    {
        USD: new Date('2023-05-04'),
        EUR: 0.90740,
        JPY: 134.29,
        SGD: 1.3277,
        INR: 81.698
    },
    {
        USD: new Date('2023-05-05'),
        EUR: 0.89849,
        JPY: 134.84,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-06'),
        EUR: 0.89200,
        JPY: 134.83,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-07'),
        EUR: 0.90768,
        JPY: 135.04,
        SGD: 1.3257,
        INR: 81.720
    },
    {
        USD: new Date('2023-05-08'),
        EUR: 0.90893,
        JPY: 135.01,
        SGD: 1.3251,
        INR: 81.787
    },
    {
        USD: new Date('2023-05-09'),
        EUR: 0.91193,
        JPY: 135.20,
        SGD: 1.3271,
        INR: 82.102
    },
    {
        USD: new Date('2023-05-10'),
        EUR: 0.91019,
        JPY: 134.20,
        SGD: 1.3247,
        INR: 81.913
    },
    {
        USD: new Date('2023-05-11'),
        EUR: 0.91601,
        JPY: 134.52,
        SGD: 1.3315,
        INR: 82.094
    },
    {
        USD: new Date('2023-05-12'),
        EUR: 0.91412,
        JPY: 135.75,
        SGD: 1.3388,
        INR: 82.256
    },
    {
        USD: new Date('2023-05-13'),
        EUR: 0.91429,
        JPY: 135.73,
        SGD: 1.3384,
        INR: 82.197
    },
    {
        USD: new Date('2023-05-14'),
        EUR: 0.92153,
        JPY: 135.78,
        SGD: 1.3385,
        INR: 82.228
    },
    {
        USD: new Date('2023-05-15'),
        EUR: 0.91939,
        JPY: 136.02,
        SGD: 1.3362,
        INR: 82.270
    },
    {
        USD: new Date('2023-05-16'),
        EUR: 0.92062,
        JPY: 136.39,
        SGD: 1.3404,
        INR: 82.295
    },
    {
        USD: new Date('2023-05-17'),
        EUR: 0.92249,
        JPY: 137.59,
        SGD: 1.3421,
        INR: 82.458
    },
    {
        USD: new Date('2023-05-18'),
        EUR: 0.92798,
        JPY: 138.65,
        SGD: 1.3478,
        INR: 82.726
    },
    {
        USD: new Date('2023-05-19'),
        EUR: 0.92391,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.842
    },
    {
        USD: new Date('2023-05-20'),
        EUR: 0.92447,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.843
    },
    {
        USD: new Date('2023-05-21'),
        EUR: 0.92428,
        JPY: 137.66,
        SGD: 1.3451,
        INR: 82.883
    },
    {
        USD: new Date('2023-05-22'),
        EUR: 0.92482,
        JPY: 138.57,
        SGD: 1.3464,
        INR: 82.822
    },
    {
        USD: new Date('2023-05-23'),
        EUR: 0.92833,
        JPY: 138.53,
        SGD: 1.3469,
        INR: 82.897
    },
    {
        USD: new Date('2023-05-24'),
        EUR: 0.92982,
        JPY: 139.22,
        SGD: 1.3490,
        INR: 82.705
    },
    {
        USD: new Date('2023-05-25'),
        EUR: 0.93225,
        JPY: 139.94,
        SGD: 1.3544,
        INR: 82.734
    },
    {
        USD: new Date('2023-05-26'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-27'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-28'),
        EUR: 0.93286,
        JPY: 140.78,
        SGD: 1.3530,
        INR: 82.569
    },
    {
        USD: new Date('2023-05-29'),
        EUR: 0.93372,
        JPY: 140.49,
        SGD: 1.3538,
        INR: 82.580
    },
    {
        USD: new Date('2023-05-30'),
        EUR: 0.93174,
        JPY: 139.76,
        SGD: 1.3506,
        INR: 82.682
    },
    {
        USD: new Date('2023-05-31'),
        EUR: 0.93515,
        JPY: 139.18,
        SGD: 1.3514,
        INR: 82.669
    },
    {
        USD: new Date('2023-06-01'),
        EUR: 0.92911,
        JPY: 138.77,
        SGD: 1.3473,
        INR: 82.280
    },
    {
        USD: new Date('2023-06-02'),
        EUR: 0.93342,
        JPY: 139.95,
        SGD: 1.3505,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-03'),
        EUR: 0.93341,
        JPY: 139.96,
        SGD: 1.3504,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-04'),
        EUR: 0.93425,
        JPY: 140.06,
        SGD: 1.3504,
        INR: 82.407
    },
    {
        USD: new Date('2023-06-05'),
        EUR: 0.93341,
        JPY: 139.46,
        SGD: 1.3493,
        INR: 82.506
    },
    {
        USD: new Date('2023-06-06'),
        EUR: 0.93505,
        JPY: 139.61,
        SGD: 1.3483,
        INR: 82.520
    },
    {
        USD: new Date('2023-06-07'),
        EUR: 0.93464,
        JPY: 140.03,
        SGD: 1.3487,
        INR: 82.625
    },
    {
        USD: new Date('2023-06-08'),
        EUR: 0.92739,
        JPY: 138.90,
        SGD: 1.3427,
        INR: 82.481
    },
    {
        USD: new Date('2023-06-09'),
        EUR: 0.93028,
        JPY: 139.40,
        SGD: 1.3441,
        INR: 82.425
    },
    {
        USD: new Date('2023-06-10'),
        EUR: 0.92992,
        JPY: 139.39,
        SGD: 1.3440,
        INR: 82.421
    },
    {
        USD: new Date('2023-06-11'),
        EUR: 0.93066,
        JPY: 139.43,
        SGD: 1.3438,
        INR: 82.435
    },
    {
        USD: new Date('2023-06-12'),
        EUR: 0.92927,
        JPY: 139.56,
        SGD: 1.3435,
        INR: 82.329
    },
    {
        USD: new Date('2023-06-13'),
        EUR: 0.92665,
        JPY: 140.14,
        SGD: 1.3421,
        INR: 82.290
    },
    {
        USD: new Date('2023-06-14'),
        EUR: 0.92307,
        JPY: 140.06,
        SGD: 1.3414,
        INR: 82.045
    },
    {
        USD: new Date('2023-06-15'),
        EUR: 0.91334,
        JPY: 140.18,
        SGD: 1.3361,
        INR: 81.910
    },
    {
        USD: new Date('2023-06-16'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-17'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-18'),
        EUR: 0.91401,
        JPY: 141.89,
        SGD: 1.3374,
        INR: 81.916
    },
    {
        USD: new Date('2023-06-19'),
        EUR: 0.91539,
        JPY: 141.92,
        SGD: 1.3405,
        INR: 81.982
    },
    {
        USD: new Date('2023-06-20'),
        EUR: 0.91579,
        JPY: 141.36,
        SGD: 1.3431,
        INR: 81.992
    },
    {
        USD: new Date('2023-06-21'),
        EUR: 0.91008,
        JPY: 141.72,
        SGD: 1.3402,
        INR: 81.944
    },
    {
        USD: new Date('2023-06-22'),
        EUR: 0.91292,
        JPY: 143.06,
        SGD: 1.3452,
        INR: 81.900
    },
    {
        USD: new Date('2023-06-23'),
        EUR: 0.91498,
        JPY: 143.72,
        SGD: 1.3508,
        INR: 81.971
    },
    {
        USD: new Date('2023-06-24'),
        EUR: 0.91608,
        JPY: 143.69,
        SGD: 1.3518,
        INR: 81.985
    },
    {
        USD: new Date('2023-06-25'),
        EUR: 0.91684,
        JPY: 143.46,
        SGD: 1.3518,
        INR: 81.961
    },
    {
        USD: new Date('2023-06-26'),
        EUR: 0.91655,
        JPY: 143.43,
        SGD: 1.3535,
        INR: 82.005
    },
    {
        USD: new Date('2023-06-27'),
        EUR: 0.91254,
        JPY: 143.97,
        SGD: 1.3493,
        INR: 82.000
    },
    {
        USD: new Date('2023-06-28'),
        EUR: 0.91607,
        JPY: 144.35,
        SGD: 1.3528,
        INR: 82.025
    },
    {
        USD: new Date('2023-06-29'),
        EUR: 0.92032,
        JPY: 144.77,
        SGD: 1.3561,
        INR: 82.073
    },
    {
        USD: new Date('2023-06-30'),
        EUR: 0.91610,
        JPY: 144.31,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-01'),
        EUR: 0.91610,
        JPY: 144.34,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-02'),
        EUR: 0.91660,
        JPY: 144.33,
        SGD: 1.3521,
        INR: 82.097
    },
    {
        USD: new Date('2023-07-03'),
        EUR: 0.91631,
        JPY: 144.67,
        SGD: 1.3511,
        INR: 81.967
    },
    {
        USD: new Date('2023-07-04'),
        EUR: 0.91908,
        JPY: 144.46,
        SGD: 1.3494,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-05'),
        EUR: 0.92119,
        JPY: 144.54,
        SGD: 1.3533,
        INR: 82.395
    },
    {
        USD: new Date('2023-07-06'),
        EUR: 0.91822,
        JPY: 144.05,
        SGD: 1.3531,
        INR: 82.770
    },
    {
        USD: new Date('2023-07-07'),
        EUR: 0.91113,
        JPY: 142.09,
        SGD: 1.3503,
        INR: 82.651
    },
    {
        USD: new Date('2023-07-08'),
        EUR: 0.91152,
        JPY: 142.11,
        SGD: 1.3499,
        INR: 82.647
    },
    {
        USD: new Date('2023-07-09'),
        EUR: 0.91190,
        JPY: 142.18,
        SGD: 1.3465,
        INR: 82.628
    },
    {
        USD: new Date('2023-07-10'),
        EUR: 0.90896,
        JPY: 141.31,
        SGD: 1.3444,
        INR: 82.536
    },
    {
        USD: new Date('2023-07-11'),
        EUR: 0.90808,
        JPY: 140.22,
        SGD: 1.3406,
        INR: 82.384
    },
    {
        USD: new Date('2023-07-12'),
        EUR: 0.89801,
        JPY: 138.38,
        SGD: 1.3300,
        INR: 81.975
    },
    {
        USD: new Date('2023-07-13'),
        EUR: 0.89080,
        JPY: 138.02,
        SGD: 1.3223,
        INR: 82.031
    },
    {
        USD: new Date('2023-07-14'),
        EUR: 0.88939,
        JPY: 138.69,
        SGD: 1.3211,
        INR: 82.134
    },
    {
        USD: new Date('2023-07-15'),
        EUR: 0.88992,
        JPY: 138.69,
        SGD: 1.3209,
        INR: 82.116
    },
    {
        USD: new Date('2023-07-16'),
        EUR: 0.89084,
        JPY: 138.76,
        SGD: 1.3219,
        INR: 82.075
    },
    {
        USD: new Date('2023-07-17'),
        EUR: 0.88965,
        JPY: 138.71,
        SGD: 1.3216,
        INR: 82.057
    },
    {
        USD: new Date('2023-07-18'),
        EUR: 0.89041,
        JPY: 138.94,
        SGD: 1.3225,
        INR: 82.076
    },
    {
        USD: new Date('2023-07-19'),
        EUR: 0.89269,
        JPY: 139.62,
        SGD: 1.3251,
        INR: 82.065
    },
    {
        USD: new Date('2023-07-20'),
        EUR: 0.89814,
        JPY: 139.98,
        SGD: 1.3267,
        INR: 82.084
    },
    {
        USD: new Date('2023-07-21'),
        EUR: 0.89824,
        JPY: 141.78,
        SGD: 1.3309,
        INR: 82.003
    },
    {
        USD: new Date('2023-07-22'),
        EUR: 0.89857,
        JPY: 141.78,
        SGD: 1.3306,
        INR: 82.004
    },
    {
        USD: new Date('2023-07-23'),
        EUR: 0.89864,
        JPY: 141.75,
        SGD: 1.3308,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-24'),
        EUR: 0.90382,
        JPY: 141.51,
        SGD: 1.3317,
        INR: 81.814
    },
    {
        USD: new Date('2023-07-25'),
        EUR: 0.90485,
        JPY: 140.92,
        SGD: 1.3278,
        INR: 81.956
    },
    {
        USD: new Date('2023-07-26'),
        EUR: 0.90178,
        JPY: 140.41,
        SGD: 1.3254,
        INR: 81.976
    },
    {
        USD: new Date('2023-07-27'),
        EUR: 0.91046,
        JPY: 139.18,
        SGD: 1.3305,
        INR: 82.373
    },
    {
        USD: new Date('2023-07-28'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.260
    },
    {
        USD: new Date('2023-07-29'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.266
    },
    {
        USD: new Date('2023-07-30'),
        EUR: 0.90709,
        JPY: 140.93,
        SGD: 1.3319,
        INR: 82.263
    },
    {
        USD: new Date('2023-07-31'),
        EUR: 0.90896,
        JPY: 142.27,
        SGD: 1.3295,
        INR: 82.241
    },
    {
        USD: new Date('2023-08-01'),
        EUR: 0.90869,
        JPY: 142.90,
        SGD: 1.3351,
        INR: 82.337
    },
    {
        USD: new Date('2023-08-02'),
        EUR: 0.91373,
        JPY: 143.22,
        SGD: 1.3413,
        INR: 82.666
    },
    {
        USD: new Date('2023-08-03'),
        EUR: 0.91309,
        JPY: 142.49,
        SGD: 1.3410,
        INR: 82.833
    },
    {
        USD: new Date('2023-08-04'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-05'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-06'),
        EUR: 0.90877,
        JPY: 141.84,
        SGD: 1.3397,
        INR: 82.687
    },
    {
        USD: new Date('2023-08-07'),
        EUR: 0.90893,
        JPY: 142.44,
        SGD: 1.3409,
        INR: 82.764
    },
    {
        USD: new Date('2023-08-08'),
        EUR: 0.91304,
        JPY: 143.36,
        SGD: 1.3479,
        INR: 82.859
    },
    {
        USD: new Date('2023-08-09'),
        EUR: 0.91092,
        JPY: 143.67,
        SGD: 1.3463,
        INR: 82.924
    },
    {
        USD: new Date('2023-08-10'),
        EUR: 0.91051,
        JPY: 144.83,
        SGD: 1.3493,
        INR: 82.918
    },
    {
        USD: new Date('2023-08-11'),
        EUR: 0.91208,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-12'),
        EUR: 0.91271,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-13'),
        EUR: 0.91401,
        JPY: 144.93,
        SGD: 1.3530,
        INR: 82.956
    },
    {
        USD: new Date('2023-08-14'),
        EUR: 0.91675,
        JPY: 145.52,
        SGD: 1.3559,
        INR: 83.407
    },
    {
        USD: new Date('2023-08-15'),
        EUR: 0.91717,
        JPY: 145.59,
        SGD: 1.3586,
        INR: 83.204
    },
    {
        USD: new Date('2023-08-16'),
        EUR: 0.91902,
        JPY: 146.29,
        SGD: 1.3595,
        INR: 83.234
    },
    {
        USD: new Date('2023-08-17'),
        EUR: 0.91966,
        JPY: 145.71,
        SGD: 1.3584,
        INR: 83.101
    },
    {
        USD: new Date('2023-08-18'),
        EUR: 0.91832,
        JPY: 145.41,
        SGD: 1.3587,
        INR: 83.157
    }
];
export let synchronizedData: Object[] = [
    {
        USD: new Date('2023-02-18'),
        EUR: 0.93316,
        JPY: 134.10,
        SGD: 1.3370,
        INR: 82.814
    },
    {
        USD: new Date('2023-02-19'),
        EUR: 0.93591,
        JPY: 134.31,
        SGD: 1.3371,
        INR: 82.773
    },
    {
        USD: new Date('2023-02-20'),
        EUR: 0.93604,
        JPY: 134.32,
        SGD: 1.3359,
        INR: 82.721
    },
    {
        USD: new Date('2023-02-21'),
        EUR: 0.93881,
        JPY: 134.97,
        SGD: 1.3402,
        INR: 82.899
    },
    {
        USD: new Date('2023-02-22'),
        EUR: 0.94289,
        JPY: 134.93,
        SGD: 1.3408,
        INR: 82.843
    },
    {
        USD: new Date('2023-02-23'),
        EUR: 0.94358,
        JPY: 134.63,
        SGD: 1.3428,
        INR: 82.636
    },
    {
        USD: new Date('2023-02-24'),
        EUR: 0.94473,
        JPY: 136.47,
        SGD: 1.3500,
        INR: 82.933
    },
    {
        USD: new Date('2023-02-25'),
        EUR: 0.94584,
        JPY: 136.48,
        SGD: 1.3499,
        INR: 82.929
    },
    {
        USD: new Date('2023-02-26'),
        EUR: 0.94745,
        JPY: 136.40,
        SGD: 1.3498,
        INR: 82.928
    },
    {
        USD: new Date('2023-02-27'),
        EUR: 0.94262,
        JPY: 136.32,
        SGD: 1.3469,
        INR: 82.673
    },
    {
        USD: new Date('2023-02-28'),
        EUR: 0.94548,
        JPY: 136.35,
        SGD: 1.3484,
        INR: 82.641
    },
    {
        USD: new Date('2023-03-01'),
        EUR: 0.93722,
        JPY: 136.20,
        SGD: 1.3420,
        INR: 82.418
    },
    {
        USD: new Date('2023-03-02'),
        EUR: 0.94344,
        JPY: 136.70,
        SGD: 1.3473,
        INR: 82.349
    },
    {
        USD: new Date('2023-03-03'),
        EUR: 0.93901,
        JPY: 135.85,
        SGD: 1.3452,
        INR: 81.712
    },
    {
        USD: new Date('2023-03-04'),
        EUR: 0.93968,
        JPY: 135.84,
        SGD: 1.3452,
        INR: 81.713
    },
    {
        USD: new Date('2023-03-05'),
        EUR: 0.94106,
        JPY: 136.02,
        SGD: 1.3455,
        INR: 81.742
    },
    {
        USD: new Date('2023-03-06'),
        EUR: 0.93573,
        JPY: 135.99,
        SGD: 1.3451,
        INR: 81.858
    },
    {
        USD: new Date('2023-03-07'),
        EUR: 0.94792,
        JPY: 137.38,
        SGD: 1.3544,
        INR: 82.072
    },
    {
        USD: new Date('2023-03-08'),
        EUR: 0.94793,
        JPY: 137.24,
        SGD: 1.3533,
        INR: 81.960
    },
    {
        USD: new Date('2023-03-09'),
        EUR: 0.94480,
        JPY: 136.41,
        SGD: 1.3532,
        INR: 82.011
    },
    {
        USD: new Date('2023-03-10'),
        EUR: 0.93842,
        JPY: 135.00,
        SGD: 1.3488,
        INR: 82.018
    },
    {
        USD: new Date('2023-03-11'),
        EUR: 0.93926,
        JPY: 134.99,
        SGD: 1.3489,
        INR: 81.966
    },
    {
        USD: new Date('2023-03-12'),
        EUR: 0.93600,
        JPY: 134.98,
        SGD: 1.3475,
        INR: 82.019
    },
    {
        USD: new Date('2023-03-13'),
        EUR: 0.93246,
        JPY: 133.12,
        SGD: 1.3474,
        INR: 82.422
    },
    {
        USD: new Date('2023-03-14'),
        EUR: 0.93219,
        JPY: 134.40,
        SGD: 1.3452,
        INR: 82.309
    },
    {
        USD: new Date('2023-03-15'),
        EUR: 0.94490,
        JPY: 132.94,
        SGD: 1.3512,
        INR: 82.713
    },
    {
        USD: new Date('2023-03-16'),
        EUR: 0.94220,
        JPY: 133.38,
        SGD: 1.3461,
        INR: 82.642
    },
    {
        USD: new Date('2023-03-17'),
        EUR: 0.93006,
        JPY: 131.84,
        SGD: 1.3416,
        INR: 82.531
    },
    {
        USD: new Date('2023-03-18'),
        EUR: 0.92806,
        JPY: 131.85,
        SGD: 1.3415,
        INR: 82.536
    },
    {
        USD: new Date('2023-03-19'),
        EUR: 0.93648,
        JPY: 132.29,
        SGD: 1.3406,
        INR: 82.544
    },
    {
        USD: new Date('2023-03-20'),
        EUR: 0.93295,
        JPY: 131.40,
        SGD: 1.3377,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-21'),
        EUR: 0.92817,
        JPY: 132.36,
        SGD: 1.3370,
        INR: 82.663
    },
    {
        USD: new Date('2023-03-22'),
        EUR: 0.92003,
        JPY: 131.18,
        SGD: 1.3297,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-23'),
        EUR: 0.92290,
        JPY: 130.80,
        SGD: 1.3278,
        INR: 82.253
    },
    {
        USD: new Date('2023-03-24'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-25'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-26'),
        EUR: 0.92789,
        JPY: 130.79,
        SGD: 1.3316,
        INR: 82.348
    },
    {
        USD: new Date('2023-03-27'),
        EUR: 0.92601,
        JPY: 131.48,
        SGD: 1.3312,
        INR: 82.240
    },
    {
        USD: new Date('2023-03-28'),
        EUR: 0.92242,
        JPY: 130.85,
        SGD: 1.3277,
        INR: 82.164
    },
    {
        USD: new Date('2023-03-29'),
        EUR: 0.92205,
        JPY: 132.66,
        SGD: 1.3292,
        INR: 82.246
    },
    {
        USD: new Date('2023-03-30'),
        EUR: 0.91709,
        JPY: 132.81,
        SGD: 1.3276,
        INR: 82.103
    },
    {
        USD: new Date('2023-03-31'),
        EUR: 0.92020,
        JPY: 132.78,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-01'),
        EUR: 0.92021,
        JPY: 132.77,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-02'),
        EUR: 0.92422,
        JPY: 133.26,
        SGD: 1.3328,
        INR: 82.201
    },
    {
        USD: new Date('2023-04-03'),
        EUR: 0.91706,
        JPY: 132.34,
        SGD: 1.3269,
        INR: 82.147
    },
    {
        USD: new Date('2023-04-04'),
        EUR: 0.91257,
        JPY: 131.68,
        SGD: 1.3255,
        INR: 82.138
    },
    {
        USD: new Date('2023-04-05'),
        EUR: 0.91665,
        JPY: 131.12,
        SGD: 1.3281,
        INR: 81.960
    },
    {
        USD: new Date('2023-04-06'),
        EUR: 0.91605,
        JPY: 131.84,
        SGD: 1.3306,
        INR: 81.825
    },
    {
        USD: new Date('2023-04-07'),
        EUR: 0.90949,
        JPY: 132.15,
        SGD: 1.3321,
        INR: 81.875
    },
    {
        USD: new Date('2023-04-08'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-09'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-10'),
        EUR: 0.92040,
        JPY: 133.54,
        SGD: 1.3324,
        INR: 81.977
    },
    {
        USD: new Date('2023-04-11'),
        EUR: 0.91601,
        JPY: 133.62,
        SGD: 1.3324,
        INR: 82.079
    },
    {
        USD: new Date('2023-04-12'),
        EUR: 0.90951,
        JPY: 133.07,
        SGD: 1.3279,
        INR: 81.951
    },
    {
        USD: new Date('2023-04-13'),
        EUR: 0.90513,
        JPY: 132.59,
        SGD: 1.3222,
        INR: 81.691
    },
    {
        USD: new Date('2023-04-14'),
        EUR: 0.90139,
        JPY: 133.83,
        SGD: 1.3303,
        INR: 81.852
    },
    {
        USD: new Date('2023-04-15'),
        EUR: 0.90067,
        JPY: 133.81,
        SGD: 1.3304,
        INR: 81.842
    },
    {
        USD: new Date('2023-04-16'),
        EUR: 0.91013,
        JPY: 133.91,
        SGD: 1.3311,
        INR: 81.857
    },
    {
        USD: new Date('2023-04-17'),
        EUR: 0.91539,
        JPY: 134.46,
        SGD: 1.3342,
        INR: 82.004
    },
    {
        USD: new Date('2023-04-18'),
        EUR: 0.91132,
        JPY: 134.05,
        SGD: 1.3325,
        INR: 82.107
    },
    {
        USD: new Date('2023-04-19'),
        EUR: 0.91297,
        JPY: 134.73,
        SGD: 1.3349,
        INR: 82.334
    },
    {
        USD: new Date('2023-04-20'),
        EUR: 0.91182,
        JPY: 134.18,
        SGD: 1.3326,
        INR: 82.153
    },
    {
        USD: new Date('2023-04-21'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-22'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-23'),
        EUR: 0.90977,
        JPY: 134.09,
        SGD: 1.3341,
        INR: 82.036
    },
    {
        USD: new Date('2023-04-24'),
        EUR: 0.90489,
        JPY: 134.12,
        SGD: 1.3334,
        INR: 81.855
    },
    {
        USD: new Date('2023-04-25'),
        EUR: 0.91085,
        JPY: 133.72,
        SGD: 1.3380,
        INR: 81.978
    },
    {
        USD: new Date('2023-04-26'),
        EUR: 0.90584,
        JPY: 133.58,
        SGD: 1.3354,
        INR: 81.748
    },
    {
        USD: new Date('2023-04-27'),
        EUR: 0.90684,
        JPY: 133.90,
        SGD: 1.3351,
        INR: 81.716
    },
    {
        USD: new Date('2023-04-28'),
        EUR: 0.89872,
        JPY: 136.31,
        SGD: 1.3355,
        INR: 81.745
    },
    {
        USD: new Date('2023-04-29'),
        EUR: 0.89861,
        JPY: 136.32,
        SGD: 1.3353,
        INR: 81.742
    },
    {
        USD: new Date('2023-04-30'),
        EUR: 0.90810,
        JPY: 136.24,
        SGD: 1.3349,
        INR: 81.764
    },
    {
        USD: new Date('2023-05-01'),
        EUR: 0.91123,
        JPY: 137.45,
        SGD: 1.3363,
        INR: 81.780
    },
    {
        USD: new Date('2023-05-02'),
        EUR: 0.90859,
        JPY: 136.52,
        SGD: 1.3346,
        INR: 81.770
    },
    {
        USD: new Date('2023-05-03'),
        EUR: 0.90346,
        JPY: 134.61,
        SGD: 1.3303,
        INR: 81.804
    },
    {
        USD: new Date('2023-05-04'),
        EUR: 0.90740,
        JPY: 134.29,
        SGD: 1.3277,
        INR: 81.698
    },
    {
        USD: new Date('2023-05-05'),
        EUR: 0.89849,
        JPY: 134.84,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-06'),
        EUR: 0.89200,
        JPY: 134.83,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-07'),
        EUR: 0.90768,
        JPY: 135.04,
        SGD: 1.3257,
        INR: 81.720
    },
    {
        USD: new Date('2023-05-08'),
        EUR: 0.90893,
        JPY: 135.01,
        SGD: 1.3251,
        INR: 81.787
    },
    {
        USD: new Date('2023-05-09'),
        EUR: 0.91193,
        JPY: 135.20,
        SGD: 1.3271,
        INR: 82.102
    },
    {
        USD: new Date('2023-05-10'),
        EUR: 0.91019,
        JPY: 134.20,
        SGD: 1.3247,
        INR: 81.913
    },
    {
        USD: new Date('2023-05-11'),
        EUR: 0.91601,
        JPY: 134.52,
        SGD: 1.3315,
        INR: 82.094
    },
    {
        USD: new Date('2023-05-12'),
        EUR: 0.91412,
        JPY: 135.75,
        SGD: 1.3388,
        INR: 82.256
    },
    {
        USD: new Date('2023-05-13'),
        EUR: 0.91429,
        JPY: 135.73,
        SGD: 1.3384,
        INR: 82.197
    },
    {
        USD: new Date('2023-05-14'),
        EUR: 0.92153,
        JPY: 135.78,
        SGD: 1.3385,
        INR: 82.228
    },
    {
        USD: new Date('2023-05-15'),
        EUR: 0.91939,
        JPY: 136.02,
        SGD: 1.3362,
        INR: 82.270
    },
    {
        USD: new Date('2023-05-16'),
        EUR: 0.92062,
        JPY: 136.39,
        SGD: 1.3404,
        INR: 82.295
    },
    {
        USD: new Date('2023-05-17'),
        EUR: 0.92249,
        JPY: 137.59,
        SGD: 1.3421,
        INR: 82.458
    },
    {
        USD: new Date('2023-05-18'),
        EUR: 0.92798,
        JPY: 138.65,
        SGD: 1.3478,
        INR: 82.726
    },
    {
        USD: new Date('2023-05-19'),
        EUR: 0.92391,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.842
    },
    {
        USD: new Date('2023-05-20'),
        EUR: 0.92447,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.843
    },
    {
        USD: new Date('2023-05-21'),
        EUR: 0.92428,
        JPY: 137.66,
        SGD: 1.3451,
        INR: 82.883
    },
    {
        USD: new Date('2023-05-22'),
        EUR: 0.92482,
        JPY: 138.57,
        SGD: 1.3464,
        INR: 82.822
    },
    {
        USD: new Date('2023-05-23'),
        EUR: 0.92833,
        JPY: 138.53,
        SGD: 1.3469,
        INR: 82.897
    },
    {
        USD: new Date('2023-05-24'),
        EUR: 0.92982,
        JPY: 139.22,
        SGD: 1.3490,
        INR: 82.705
    },
    {
        USD: new Date('2023-05-25'),
        EUR: 0.93225,
        JPY: 139.94,
        SGD: 1.3544,
        INR: 82.734
    },
    {
        USD: new Date('2023-05-26'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-27'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-28'),
        EUR: 0.93286,
        JPY: 140.78,
        SGD: 1.3530,
        INR: 82.569
    },
    {
        USD: new Date('2023-05-29'),
        EUR: 0.93372,
        JPY: 140.49,
        SGD: 1.3538,
        INR: 82.580
    },
    {
        USD: new Date('2023-05-30'),
        EUR: 0.93174,
        JPY: 139.76,
        SGD: 1.3506,
        INR: 82.682
    },
    {
        USD: new Date('2023-05-31'),
        EUR: 0.93515,
        JPY: 139.18,
        SGD: 1.3514,
        INR: 82.669
    },
    {
        USD: new Date('2023-06-01'),
        EUR: 0.92911,
        JPY: 138.77,
        SGD: 1.3473,
        INR: 82.280
    },
    {
        USD: new Date('2023-06-02'),
        EUR: 0.93342,
        JPY: 139.95,
        SGD: 1.3505,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-03'),
        EUR: 0.93341,
        JPY: 139.96,
        SGD: 1.3504,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-04'),
        EUR: 0.93425,
        JPY: 140.06,
        SGD: 1.3504,
        INR: 82.407
    },
    {
        USD: new Date('2023-06-05'),
        EUR: 0.93341,
        JPY: 139.46,
        SGD: 1.3493,
        INR: 82.506
    },
    {
        USD: new Date('2023-06-06'),
        EUR: 0.93505,
        JPY: 139.61,
        SGD: 1.3483,
        INR: 82.520
    },
    {
        USD: new Date('2023-06-07'),
        EUR: 0.93464,
        JPY: 140.03,
        SGD: 1.3487,
        INR: 82.625
    },
    {
        USD: new Date('2023-06-08'),
        EUR: 0.92739,
        JPY: 138.90,
        SGD: 1.3427,
        INR: 82.481
    },
    {
        USD: new Date('2023-06-09'),
        EUR: 0.93028,
        JPY: 139.40,
        SGD: 1.3441,
        INR: 82.425
    },
    {
        USD: new Date('2023-06-10'),
        EUR: 0.92992,
        JPY: 139.39,
        SGD: 1.3440,
        INR: 82.421
    },
    {
        USD: new Date('2023-06-11'),
        EUR: 0.93066,
        JPY: 139.43,
        SGD: 1.3438,
        INR: 82.435
    },
    {
        USD: new Date('2023-06-12'),
        EUR: 0.92927,
        JPY: 139.56,
        SGD: 1.3435,
        INR: 82.329
    },
    {
        USD: new Date('2023-06-13'),
        EUR: 0.92665,
        JPY: 140.14,
        SGD: 1.3421,
        INR: 82.290
    },
    {
        USD: new Date('2023-06-14'),
        EUR: 0.92307,
        JPY: 140.06,
        SGD: 1.3414,
        INR: 82.045
    },
    {
        USD: new Date('2023-06-15'),
        EUR: 0.91334,
        JPY: 140.18,
        SGD: 1.3361,
        INR: 81.910
    },
    {
        USD: new Date('2023-06-16'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-17'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-18'),
        EUR: 0.91401,
        JPY: 141.89,
        SGD: 1.3374,
        INR: 81.916
    },
    {
        USD: new Date('2023-06-19'),
        EUR: 0.91539,
        JPY: 141.92,
        SGD: 1.3405,
        INR: 81.982
    },
    {
        USD: new Date('2023-06-20'),
        EUR: 0.91579,
        JPY: 141.36,
        SGD: 1.3431,
        INR: 81.992
    },
    {
        USD: new Date('2023-06-21'),
        EUR: 0.91008,
        JPY: 141.72,
        SGD: 1.3402,
        INR: 81.944
    },
    {
        USD: new Date('2023-06-22'),
        EUR: 0.91292,
        JPY: 143.06,
        SGD: 1.3452,
        INR: 81.900
    },
    {
        USD: new Date('2023-06-23'),
        EUR: 0.91498,
        JPY: 143.72,
        SGD: 1.3508,
        INR: 81.971
    },
    {
        USD: new Date('2023-06-24'),
        EUR: 0.91608,
        JPY: 143.69,
        SGD: 1.3518,
        INR: 81.985
    },
    {
        USD: new Date('2023-06-25'),
        EUR: 0.91684,
        JPY: 143.46,
        SGD: 1.3518,
        INR: 81.961
    },
    {
        USD: new Date('2023-06-26'),
        EUR: 0.91655,
        JPY: 143.43,
        SGD: 1.3535,
        INR: 82.005
    },
    {
        USD: new Date('2023-06-27'),
        EUR: 0.91254,
        JPY: 143.97,
        SGD: 1.3493,
        INR: 82.000
    },
    {
        USD: new Date('2023-06-28'),
        EUR: 0.91607,
        JPY: 144.35,
        SGD: 1.3528,
        INR: 82.025
    },
    {
        USD: new Date('2023-06-29'),
        EUR: 0.92032,
        JPY: 144.77,
        SGD: 1.3561,
        INR: 82.073
    },
    {
        USD: new Date('2023-06-30'),
        EUR: 0.91610,
        JPY: 144.31,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-01'),
        EUR: 0.91610,
        JPY: 144.34,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-02'),
        EUR: 0.91660,
        JPY: 144.33,
        SGD: 1.3521,
        INR: 82.097
    },
    {
        USD: new Date('2023-07-03'),
        EUR: 0.91631,
        JPY: 144.67,
        SGD: 1.3511,
        INR: 81.967
    },
    {
        USD: new Date('2023-07-04'),
        EUR: 0.91908,
        JPY: 144.46,
        SGD: 1.3494,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-05'),
        EUR: 0.92119,
        JPY: 144.54,
        SGD: 1.3533,
        INR: 82.395
    },
    {
        USD: new Date('2023-07-06'),
        EUR: 0.91822,
        JPY: 144.05,
        SGD: 1.3531,
        INR: 82.770
    },
    {
        USD: new Date('2023-07-07'),
        EUR: 0.91113,
        JPY: 142.09,
        SGD: 1.3503,
        INR: 82.651
    },
    {
        USD: new Date('2023-07-08'),
        EUR: 0.91152,
        JPY: 142.11,
        SGD: 1.3499,
        INR: 82.647
    },
    {
        USD: new Date('2023-07-09'),
        EUR: 0.91190,
        JPY: 142.18,
        SGD: 1.3465,
        INR: 82.628
    },
    {
        USD: new Date('2023-07-10'),
        EUR: 0.90896,
        JPY: 141.31,
        SGD: 1.3444,
        INR: 82.536
    },
    {
        USD: new Date('2023-07-11'),
        EUR: 0.90808,
        JPY: 140.22,
        SGD: 1.3406,
        INR: 82.384
    },
    {
        USD: new Date('2023-07-12'),
        EUR: 0.89801,
        JPY: 138.38,
        SGD: 1.3300,
        INR: 81.975
    },
    {
        USD: new Date('2023-07-13'),
        EUR: 0.89080,
        JPY: 138.02,
        SGD: 1.3223,
        INR: 82.031
    },
    {
        USD: new Date('2023-07-14'),
        EUR: 0.88939,
        JPY: 138.69,
        SGD: 1.3211,
        INR: 82.134
    },
    {
        USD: new Date('2023-07-15'),
        EUR: 0.88992,
        JPY: 138.69,
        SGD: 1.3209,
        INR: 82.116
    },
    {
        USD: new Date('2023-07-16'),
        EUR: 0.89084,
        JPY: 138.76,
        SGD: 1.3219,
        INR: 82.075
    },
    {
        USD: new Date('2023-07-17'),
        EUR: 0.88965,
        JPY: 138.71,
        SGD: 1.3216,
        INR: 82.057
    },
    {
        USD: new Date('2023-07-18'),
        EUR: 0.89041,
        JPY: 138.94,
        SGD: 1.3225,
        INR: 82.076
    },
    {
        USD: new Date('2023-07-19'),
        EUR: 0.89269,
        JPY: 139.62,
        SGD: 1.3251,
        INR: 82.065
    },
    {
        USD: new Date('2023-07-20'),
        EUR: 0.89814,
        JPY: 139.98,
        SGD: 1.3267,
        INR: 82.084
    },
    {
        USD: new Date('2023-07-21'),
        EUR: 0.89824,
        JPY: 141.78,
        SGD: 1.3309,
        INR: 82.003
    },
    {
        USD: new Date('2023-07-22'),
        EUR: 0.89857,
        JPY: 141.78,
        SGD: 1.3306,
        INR: 82.004
    },
    {
        USD: new Date('2023-07-23'),
        EUR: 0.89864,
        JPY: 141.75,
        SGD: 1.3308,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-24'),
        EUR: 0.90382,
        JPY: 141.51,
        SGD: 1.3317,
        INR: 81.814
    },
    {
        USD: new Date('2023-07-25'),
        EUR: 0.90485,
        JPY: 140.92,
        SGD: 1.3278,
        INR: 81.956
    },
    {
        USD: new Date('2023-07-26'),
        EUR: 0.90178,
        JPY: 140.41,
        SGD: 1.3254,
        INR: 81.976
    },
    {
        USD: new Date('2023-07-27'),
        EUR: 0.91046,
        JPY: 139.18,
        SGD: 1.3305,
        INR: 82.373
    },
    {
        USD: new Date('2023-07-28'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.260
    },
    {
        USD: new Date('2023-07-29'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.266
    },
    {
        USD: new Date('2023-07-30'),
        EUR: 0.90709,
        JPY: 140.93,
        SGD: 1.3319,
        INR: 82.263
    },
    {
        USD: new Date('2023-07-31'),
        EUR: 0.90896,
        JPY: 142.27,
        SGD: 1.3295,
        INR: 82.241
    },
    {
        USD: new Date('2023-08-01'),
        EUR: 0.90869,
        JPY: 142.90,
        SGD: 1.3351,
        INR: 82.337
    },
    {
        USD: new Date('2023-08-02'),
        EUR: 0.91373,
        JPY: 143.22,
        SGD: 1.3413,
        INR: 82.666
    },
    {
        USD: new Date('2023-08-03'),
        EUR: 0.91309,
        JPY: 142.49,
        SGD: 1.3410,
        INR: 82.833
    },
    {
        USD: new Date('2023-08-04'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-05'),
        EUR: 0.90697,
        JPY: 141.75,
        SGD: 1.3391,
        INR: 82.677
    },
    {
        USD: new Date('2023-08-06'),
        EUR: 0.90877,
        JPY: 141.84,
        SGD: 1.3397,
        INR: 82.687
    },
    {
        USD: new Date('2023-08-07'),
        EUR: 0.90893,
        JPY: 142.44,
        SGD: 1.3409,
        INR: 82.764
    },
    {
        USD: new Date('2023-08-08'),
        EUR: 0.91304,
        JPY: 143.36,
        SGD: 1.3479,
        INR: 82.859
    },
    {
        USD: new Date('2023-08-09'),
        EUR: 0.91092,
        JPY: 143.67,
        SGD: 1.3463,
        INR: 82.924
    },
    {
        USD: new Date('2023-08-10'),
        EUR: 0.91051,
        JPY: 144.83,
        SGD: 1.3493,
        INR: 82.918
    },
    {
        USD: new Date('2023-08-11'),
        EUR: 0.91208,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-12'),
        EUR: 0.91271,
        JPY: 144.90,
        SGD: 1.3521,
        INR: 82.957
    },
    {
        USD: new Date('2023-08-13'),
        EUR: 0.91401,
        JPY: 144.93,
        SGD: 1.3530,
        INR: 82.956
    },
    {
        USD: new Date('2023-08-14'),
        EUR: 0.91675,
        JPY: 145.52,
        SGD: 1.3559,
        INR: 83.407
    },
    {
        USD: new Date('2023-08-15'),
        EUR: 0.91717,
        JPY: 145.59,
        SGD: 1.3586,
        INR: 83.204
    },
    {
        USD: new Date('2023-08-16'),
        EUR: 0.91902,
        JPY: 146.29,
        SGD: 1.3595,
        INR: 83.234
    },
    {
        USD: new Date('2023-08-17'),
        EUR: 0.91966,
        JPY: 145.71,
        SGD: 1.3584,
        INR: 83.101
    },
    {
        USD: new Date('2023-08-18'),
        EUR: 0.91832,
        JPY: 145.41,
        SGD: 1.3587,
        INR: 83.157
    }
];

Selection synchronization

You can select the data across multiple charts using the selectionComplete event. In the selectionComplete event, obtain the selected values of the particular chart, and then apply those values to the other charts.

import * as ReactDOM from "react-dom";
import { Chart, SplineSeries, LineSeries, DateTime, Zoom, IZoomCompleteEventArgs, Selection, ISelectionCompleteEventArgs, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import * as React from 'react';
import { Browser } from '@syncfusion/ej2-base';

function App() {
    let chart1 = React.useRef(null);
    let chart2 = React.useRef(null);
    let charts = [];
    React.useEffect(() => {
        charts = [chart1.current, chart2.current];
    }, []);
    let zoomFactor = 0;
    let zoomPosition = 0;
    let count = 0;

    let zoomComplete = (args) => {
        if (args.axis.name === 'primaryXAxis') {
            zoomFactor = args.currentZoomFactor;
            zoomPosition = args.currentZoomPosition;
            zoomCompleteFunction(args);
        }
    };

    let zoomCompleteFunction = (args) => {
        for (let i = 0; i < charts.length; i++) {
            if (args.axis.series[0].chart.element.id !== charts[i].element.id) {
                charts[i].primaryXAxis.zoomFactor = zoomFactor;
                charts[i].primaryXAxis.zoomPosition = zoomPosition;
                charts[i].zoomModule.isZoomed = args.axis.series[0].chart.zoomModule.isZoomed;
                charts[i].zoomModule.isPanning = args.axis.series[0].chart.zoomModule.isPanning;
            }
        }
    };

    let selectionComplete = (args) => {
        selectionCompleteFunction(args);
    };

    let selectionCompleteFunction = (args) => {
        if (count == 0) {
            for (var j = 0; j < args.selectedDataValues.length; j++) {
                args.selectedDataValues[j].point = args.selectedDataValues[j].pointIndex;
                args.selectedDataValues[j].series = args.selectedDataValues[j].seriesIndex;
            }
            for (var i = 0; i < charts.length; i++) {
                if (args.chart.element.id !== charts[i].element.id) {
                    charts[i].selectedDataIndexes = args.selectedDataValues;
                    count += 1;
                    charts[i].dataBind();
                }
            }
            count = 0;
        }
    };
    return <div className="control-section">
        <div className="row">
            <div className="col">
                <ChartComponent
                    id="container1"
                    ref={chart1}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n2',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 0.86,
                        maximum: 0.96,
                        interval: 0.025
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableSelectionZooming: true,
                        mode: 'X'
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    selectionComplete={selectionComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to Euro"
                    selectionMode='Point'
                    selectionPattern='Box'>
                    <Inject services={[LineSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Line" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
            <div className="col">
                <ChartComponent
                    id="container2"
                    ref={chart2}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n1',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 79,
                        maximum: 85,
                        interval: 1.5
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableSelectionZooming: true,
                        mode: 'X'
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    selectionComplete={selectionComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to INR"
                    selectionMode='Point'
                    selectionPattern='Box'>
                    <Inject services={[SplineSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Spline" dataSource={synchronizedData} xName="USD" yName="INR" width={2} border={{ width: 2 }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
        </div>
    </div>
}
;
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
import * as ReactDOM from "react-dom";
import { Chart, SplineSeries, LineSeries, DateTime, Zoom, IZoomCompleteEventArgs, Selection, ISelectionCompleteEventArgs, ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject } from '@syncfusion/ej2-react-charts';
import { synchronizedData } from './datasource';
import * as React from "react";
import { Browser } from '@syncfusion/ej2-base';

function App() {

    let chart1 = React.useRef<ChartComponent>(null);
    let chart2 = React.useRef<ChartComponent>(null);

    let charts: ChartComponent[] = [];
    React.useEffect(() => {
        charts = [chart1.current, chart2.current];
    }, []);
    let zoomFactor: number = 0;
    let zoomPosition: number = 0;
    let count: number = 0;

    let zoomComplete = (args: IZoomCompleteEventArgs): void => {
        if (args.axis.name === 'primaryXAxis') {
            zoomFactor = args.currentZoomFactor;
            zoomPosition = args.currentZoomPosition;
            zoomCompleteFunction(args);
        }
    };

    let zoomCompleteFunction = (args: IZoomCompleteEventArgs): void => {
        for (let i: number = 0; i < charts.length; i++) {
            if (args.axis.series[0].chart.element.id !== charts[i].element.id) {
                charts[i].primaryXAxis.zoomFactor = zoomFactor;
                charts[i].primaryXAxis.zoomPosition = zoomPosition;
                charts[i].zoomModule.isZoomed = args.axis.series[0].chart.zoomModule.isZoomed;
                charts[i].zoomModule.isPanning = args.axis.series[0].chart.zoomModule.isPanning;
            }
        }
    };

    let selectionComplete = (args: ISelectionCompleteEventArgs): void => {
        selectionCompleteFunction(args);
    };

    let selectionCompleteFunction = (args: ISelectionCompleteEventArgs): void => {
        if (count == 0) {
            for (var j = 0; j < args.selectedDataValues.length; j++) {
                args.selectedDataValues[j].point = args.selectedDataValues[j].pointIndex;
                args.selectedDataValues[j].series = args.selectedDataValues[j].seriesIndex;
            }
            for (var i = 0; i < charts.length; i++) {
                if (args.chart.element.id !== charts[i].element.id) {
                    charts[i].selectedDataIndexes = args.selectedDataValues;
                    count += 1;
                    charts[i].dataBind();
                }
            }
            count = 0;
        }
    };

    return <div className="control-section">
        <div className="row">
            <div className="col">
                <ChartComponent
                    id="container1"
                    ref={chart1}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n2',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 0.86,
                        maximum: 0.96,
                        interval: 0.025
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableSelectionZooming: true,
                        mode: 'X'
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    selectionComplete={selectionComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to Euro"
                    selectionMode='Point'
                    selectionPattern='Box'>
                    <Inject services={[LineSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Line" dataSource={synchronizedData} xName="USD" yName="EUR" width={2} emptyPointSettings={{ mode: 'Drop' }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
            <div className="col">
                <ChartComponent
                    id="container2"
                    ref={chart2}
                    primaryXAxis={{
                        minimum: new Date(2023, 1, 18),
                        maximum: new Date(2023, 7, 18),
                        valueType: 'DateTime',
                        labelFormat: 'MMM d',
                        lineStyle: { width: 0 },
                        majorGridLines: { width: 0 },
                        edgeLabelPlacement: Browser.isDevice ? 'None' : 'Shift',
                        labelRotation: Browser.isDevice ? -45 : 0,
                        interval: Browser.isDevice ? 2 : 1
                    }}
                    primaryYAxis={{
                        labelFormat: 'n1',
                        majorTickLines: { width: 0 },
                        lineStyle: { width: 0 },
                        minimum: 79,
                        maximum: 85,
                        interval: 1.5
                    }}
                    chartArea={{ border: { width: 0 } }}
                    zoomSettings={{
                        enableSelectionZooming: true,
                        mode: 'X'
                    }}
                    zoomComplete={zoomComplete.bind(this)}
                    selectionComplete={selectionComplete.bind(this)}
                    titleStyle={{ textAlignment: 'Near' }}
                    title="US to INR"
                    selectionMode='Point'
                    selectionPattern='Box'>
                    <Inject services={[SplineSeries, DateTime, Zoom, Selection]} />
                    <SeriesCollectionDirective>
                        <SeriesDirective type="Spline" dataSource={synchronizedData} xName="USD" yName="INR" width={2} border={{ width: 2 }}></SeriesDirective>
                    </SeriesCollectionDirective>
                </ChartComponent>
            </div>
        </div>
    </div>

};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
export let synchronizedData = [
    {
        USD: new Date('2023-02-18'),
        EUR: 0.93316,
        JPY: 134.10,
        SGD: 1.3370,
        INR: 82.814
    },
    {
        USD: new Date('2023-02-19'),
        EUR: 0.93591,
        JPY: 134.31,
        SGD: 1.3371,
        INR: 82.773
    },
    {
        USD: new Date('2023-02-20'),
        EUR: 0.93604,
        JPY: 134.32,
        SGD: 1.3359,
        INR: 82.721
    },
    {
        USD: new Date('2023-02-21'),
        EUR: 0.93881,
        JPY: 134.97,
        SGD: 1.3402,
        INR: 82.899
    },
    {
        USD: new Date('2023-02-22'),
        EUR: 0.94289,
        JPY: 134.93,
        SGD: 1.3408,
        INR: 82.843
    },
    {
        USD: new Date('2023-02-23'),
        EUR: 0.94358,
        JPY: 134.63,
        SGD: 1.3428,
        INR: 82.636
    },
    {
        USD: new Date('2023-02-24'),
        EUR: 0.94473,
        JPY: 136.47,
        SGD: 1.3500,
        INR: 82.933
    },
    {
        USD: new Date('2023-02-25'),
        EUR: 0.94584,
        JPY: 136.48,
        SGD: 1.3499,
        INR: 82.929
    },
    {
        USD: new Date('2023-02-26'),
        EUR: 0.94745,
        JPY: 136.40,
        SGD: 1.3498,
        INR: 82.928
    },
    {
        USD: new Date('2023-02-27'),
        EUR: 0.94262,
        JPY: 136.32,
        SGD: 1.3469,
        INR: 82.673
    },
    {
        USD: new Date('2023-02-28'),
        EUR: 0.94548,
        JPY: 136.35,
        SGD: 1.3484,
        INR: 82.641
    },
    {
        USD: new Date('2023-03-01'),
        EUR: 0.93722,
        JPY: 136.20,
        SGD: 1.3420,
        INR: 82.418
    },
    {
        USD: new Date('2023-03-02'),
        EUR: 0.94344,
        JPY: 136.70,
        SGD: 1.3473,
        INR: 82.349
    },
    {
        USD: new Date('2023-03-03'),
        EUR: 0.93901,
        JPY: 135.85,
        SGD: 1.3452,
        INR: 81.712
    },
    {
        USD: new Date('2023-03-04'),
        EUR: 0.93968,
        JPY: 135.84,
        SGD: 1.3452,
        INR: 81.713
    },
    {
        USD: new Date('2023-03-05'),
        EUR: 0.94106,
        JPY: 136.02,
        SGD: 1.3455,
        INR: 81.742
    },
    {
        USD: new Date('2023-03-06'),
        EUR: 0.93573,
        JPY: 135.99,
        SGD: 1.3451,
        INR: 81.858
    },
    {
        USD: new Date('2023-03-07'),
        EUR: 0.94792,
        JPY: 137.38,
        SGD: 1.3544,
        INR: 82.072
    },
    {
        USD: new Date('2023-03-08'),
        EUR: 0.94793,
        JPY: 137.24,
        SGD: 1.3533,
        INR: 81.960
    },
    {
        USD: new Date('2023-03-09'),
        EUR: 0.94480,
        JPY: 136.41,
        SGD: 1.3532,
        INR: 82.011
    },
    {
        USD: new Date('2023-03-10'),
        EUR: 0.93842,
        JPY: 135.00,
        SGD: 1.3488,
        INR: 82.018
    },
    {
        USD: new Date('2023-03-11'),
        EUR: 0.93926,
        JPY: 134.99,
        SGD: 1.3489,
        INR: 81.966
    },
    {
        USD: new Date('2023-03-12'),
        EUR: 0.93600,
        JPY: 134.98,
        SGD: 1.3475,
        INR: 82.019
    },
    {
        USD: new Date('2023-03-13'),
        EUR: 0.93246,
        JPY: 133.12,
        SGD: 1.3474,
        INR: 82.422
    },
    {
        USD: new Date('2023-03-14'),
        EUR: 0.93219,
        JPY: 134.40,
        SGD: 1.3452,
        INR: 82.309
    },
    {
        USD: new Date('2023-03-15'),
        EUR: 0.94490,
        JPY: 132.94,
        SGD: 1.3512,
        INR: 82.713
    },
    {
        USD: new Date('2023-03-16'),
        EUR: 0.94220,
        JPY: 133.38,
        SGD: 1.3461,
        INR: 82.642
    },
    {
        USD: new Date('2023-03-17'),
        EUR: 0.93006,
        JPY: 131.84,
        SGD: 1.3416,
        INR: 82.531
    },
    {
        USD: new Date('2023-03-18'),
        EUR: 0.92806,
        JPY: 131.85,
        SGD: 1.3415,
        INR: 82.536
    },
    {
        USD: new Date('2023-03-19'),
        EUR: 0.93648,
        JPY: 132.29,
        SGD: 1.3406,
        INR: 82.544
    },
    {
        USD: new Date('2023-03-20'),
        EUR: 0.93295,
        JPY: 131.40,
        SGD: 1.3377,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-21'),
        EUR: 0.92817,
        JPY: 132.36,
        SGD: 1.3370,
        INR: 82.663
    },
    {
        USD: new Date('2023-03-22'),
        EUR: 0.92003,
        JPY: 131.18,
        SGD: 1.3297,
        INR: 82.520
    },
    {
        USD: new Date('2023-03-23'),
        EUR: 0.92290,
        JPY: 130.80,
        SGD: 1.3278,
        INR: 82.253
    },
    {
        USD: new Date('2023-03-24'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-25'),
        EUR: 0.92795,
        JPY: 130.75,
        SGD: 1.3329,
        INR: 82.347
    },
    {
        USD: new Date('2023-03-26'),
        EUR: 0.92789,
        JPY: 130.79,
        SGD: 1.3316,
        INR: 82.348
    },
    {
        USD: new Date('2023-03-27'),
        EUR: 0.92601,
        JPY: 131.48,
        SGD: 1.3312,
        INR: 82.240
    },
    {
        USD: new Date('2023-03-28'),
        EUR: 0.92242,
        JPY: 130.85,
        SGD: 1.3277,
        INR: 82.164
    },
    {
        USD: new Date('2023-03-29'),
        EUR: 0.92205,
        JPY: 132.66,
        SGD: 1.3292,
        INR: 82.246
    },
    {
        USD: new Date('2023-03-30'),
        EUR: 0.91709,
        JPY: 132.81,
        SGD: 1.3276,
        INR: 82.103
    },
    {
        USD: new Date('2023-03-31'),
        EUR: 0.92020,
        JPY: 132.78,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-01'),
        EUR: 0.92021,
        JPY: 132.77,
        SGD: 1.3308,
        INR: 82.181
    },
    {
        USD: new Date('2023-04-02'),
        EUR: 0.92422,
        JPY: 133.26,
        SGD: 1.3328,
        INR: 82.201
    },
    {
        USD: new Date('2023-04-03'),
        EUR: 0.91706,
        JPY: 132.34,
        SGD: 1.3269,
        INR: 82.147
    },
    {
        USD: new Date('2023-04-04'),
        EUR: 0.91257,
        JPY: 131.68,
        SGD: 1.3255,
        INR: 82.138
    },
    {
        USD: new Date('2023-04-05'),
        EUR: 0.91665,
        JPY: 131.12,
        SGD: 1.3281,
        INR: 81.960
    },
    {
        USD: new Date('2023-04-06'),
        EUR: 0.91605,
        JPY: 131.84,
        SGD: 1.3306,
        INR: 81.825
    },
    {
        USD: new Date('2023-04-07'),
        EUR: 0.90949,
        JPY: 132.15,
        SGD: 1.3321,
        INR: 81.875
    },
    {
        USD: new Date('2023-04-08'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-09'),
        EUR: 0.90951,
        JPY: 132.15,
        SGD: 1.3298,
        INR: 81.841
    },
    {
        USD: new Date('2023-04-10'),
        EUR: 0.92040,
        JPY: 133.54,
        SGD: 1.3324,
        INR: 81.977
    },
    {
        USD: new Date('2023-04-11'),
        EUR: 0.91601,
        JPY: 133.62,
        SGD: 1.3324,
        INR: 82.079
    },
    {
        USD: new Date('2023-04-12'),
        EUR: 0.90951,
        JPY: 133.07,
        SGD: 1.3279,
        INR: 81.951
    },
    {
        USD: new Date('2023-04-13'),
        EUR: 0.90513,
        JPY: 132.59,
        SGD: 1.3222,
        INR: 81.691
    },
    {
        USD: new Date('2023-04-14'),
        EUR: 0.90139,
        JPY: 133.83,
        SGD: 1.3303,
        INR: 81.852
    },
    {
        USD: new Date('2023-04-15'),
        EUR: 0.90067,
        JPY: 133.81,
        SGD: 1.3304,
        INR: 81.842
    },
    {
        USD: new Date('2023-04-16'),
        EUR: 0.91013,
        JPY: 133.91,
        SGD: 1.3311,
        INR: 81.857
    },
    {
        USD: new Date('2023-04-17'),
        EUR: 0.91539,
        JPY: 134.46,
        SGD: 1.3342,
        INR: 82.004
    },
    {
        USD: new Date('2023-04-18'),
        EUR: 0.91132,
        JPY: 134.05,
        SGD: 1.3325,
        INR: 82.107
    },
    {
        USD: new Date('2023-04-19'),
        EUR: 0.91297,
        JPY: 134.73,
        SGD: 1.3349,
        INR: 82.334
    },
    {
        USD: new Date('2023-04-20'),
        EUR: 0.91182,
        JPY: 134.18,
        SGD: 1.3326,
        INR: 82.153
    },
    {
        USD: new Date('2023-04-21'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-22'),
        EUR: 0.90117,
        JPY: 134.16,
        SGD: 1.3351,
        INR: 82.041
    },
    {
        USD: new Date('2023-04-23'),
        EUR: 0.90977,
        JPY: 134.09,
        SGD: 1.3341,
        INR: 82.036
    },
    {
        USD: new Date('2023-04-24'),
        EUR: 0.90489,
        JPY: 134.12,
        SGD: 1.3334,
        INR: 81.855
    },
    {
        USD: new Date('2023-04-25'),
        EUR: 0.91085,
        JPY: 133.72,
        SGD: 1.3380,
        INR: 81.978
    },
    {
        USD: new Date('2023-04-26'),
        EUR: 0.90584,
        JPY: 133.58,
        SGD: 1.3354,
        INR: 81.748
    },
    {
        USD: new Date('2023-04-27'),
        EUR: 0.90684,
        JPY: 133.90,
        SGD: 1.3351,
        INR: 81.716
    },
    {
        USD: new Date('2023-04-28'),
        EUR: 0.89872,
        JPY: 136.31,
        SGD: 1.3355,
        INR: 81.745
    },
    {
        USD: new Date('2023-04-29'),
        EUR: 0.89861,
        JPY: 136.32,
        SGD: 1.3353,
        INR: 81.742
    },
    {
        USD: new Date('2023-04-30'),
        EUR: 0.90810,
        JPY: 136.24,
        SGD: 1.3349,
        INR: 81.764
    },
    {
        USD: new Date('2023-05-01'),
        EUR: 0.91123,
        JPY: 137.45,
        SGD: 1.3363,
        INR: 81.780
    },
    {
        USD: new Date('2023-05-02'),
        EUR: 0.90859,
        JPY: 136.52,
        SGD: 1.3346,
        INR: 81.770
    },
    {
        USD: new Date('2023-05-03'),
        EUR: 0.90346,
        JPY: 134.61,
        SGD: 1.3303,
        INR: 81.804
    },
    {
        USD: new Date('2023-05-04'),
        EUR: 0.90740,
        JPY: 134.29,
        SGD: 1.3277,
        INR: 81.698
    },
    {
        USD: new Date('2023-05-05'),
        EUR: 0.89849,
        JPY: 134.84,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-06'),
        EUR: 0.89200,
        JPY: 134.83,
        SGD: 1.3261,
        INR: 81.730
    },
    {
        USD: new Date('2023-05-07'),
        EUR: 0.90768,
        JPY: 135.04,
        SGD: 1.3257,
        INR: 81.720
    },
    {
        USD: new Date('2023-05-08'),
        EUR: 0.90893,
        JPY: 135.01,
        SGD: 1.3251,
        INR: 81.787
    },
    {
        USD: new Date('2023-05-09'),
        EUR: 0.91193,
        JPY: 135.20,
        SGD: 1.3271,
        INR: 82.102
    },
    {
        USD: new Date('2023-05-10'),
        EUR: 0.91019,
        JPY: 134.20,
        SGD: 1.3247,
        INR: 81.913
    },
    {
        USD: new Date('2023-05-11'),
        EUR: 0.91601,
        JPY: 134.52,
        SGD: 1.3315,
        INR: 82.094
    },
    {
        USD: new Date('2023-05-12'),
        EUR: 0.91412,
        JPY: 135.75,
        SGD: 1.3388,
        INR: 82.256
    },
    {
        USD: new Date('2023-05-13'),
        EUR: 0.91429,
        JPY: 135.73,
        SGD: 1.3384,
        INR: 82.197
    },
    {
        USD: new Date('2023-05-14'),
        EUR: 0.92153,
        JPY: 135.78,
        SGD: 1.3385,
        INR: 82.228
    },
    {
        USD: new Date('2023-05-15'),
        EUR: 0.91939,
        JPY: 136.02,
        SGD: 1.3362,
        INR: 82.270
    },
    {
        USD: new Date('2023-05-16'),
        EUR: 0.92062,
        JPY: 136.39,
        SGD: 1.3404,
        INR: 82.295
    },
    {
        USD: new Date('2023-05-17'),
        EUR: 0.92249,
        JPY: 137.59,
        SGD: 1.3421,
        INR: 82.458
    },
    {
        USD: new Date('2023-05-18'),
        EUR: 0.92798,
        JPY: 138.65,
        SGD: 1.3478,
        INR: 82.726
    },
    {
        USD: new Date('2023-05-19'),
        EUR: 0.92391,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.842
    },
    {
        USD: new Date('2023-05-20'),
        EUR: 0.92447,
        JPY: 137.97,
        SGD: 1.3444,
        INR: 82.843
    },
    {
        USD: new Date('2023-05-21'),
        EUR: 0.92428,
        JPY: 137.66,
        SGD: 1.3451,
        INR: 82.883
    },
    {
        USD: new Date('2023-05-22'),
        EUR: 0.92482,
        JPY: 138.57,
        SGD: 1.3464,
        INR: 82.822
    },
    {
        USD: new Date('2023-05-23'),
        EUR: 0.92833,
        JPY: 138.53,
        SGD: 1.3469,
        INR: 82.897
    },
    {
        USD: new Date('2023-05-24'),
        EUR: 0.92982,
        JPY: 139.22,
        SGD: 1.3490,
        INR: 82.705
    },
    {
        USD: new Date('2023-05-25'),
        EUR: 0.93225,
        JPY: 139.94,
        SGD: 1.3544,
        INR: 82.734
    },
    {
        USD: new Date('2023-05-26'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-27'),
        EUR: 0.93188,
        JPY: 140.66,
        SGD: 1.3502,
        INR: 82.565
    },
    {
        USD: new Date('2023-05-28'),
        EUR: 0.93286,
        JPY: 140.78,
        SGD: 1.3530,
        INR: 82.569
    },
    {
        USD: new Date('2023-05-29'),
        EUR: 0.93372,
        JPY: 140.49,
        SGD: 1.3538,
        INR: 82.580
    },
    {
        USD: new Date('2023-05-30'),
        EUR: 0.93174,
        JPY: 139.76,
        SGD: 1.3506,
        INR: 82.682
    },
    {
        USD: new Date('2023-05-31'),
        EUR: 0.93515,
        JPY: 139.18,
        SGD: 1.3514,
        INR: 82.669
    },
    {
        USD: new Date('2023-06-01'),
        EUR: 0.92911,
        JPY: 138.77,
        SGD: 1.3473,
        INR: 82.280
    },
    {
        USD: new Date('2023-06-02'),
        EUR: 0.93342,
        JPY: 139.95,
        SGD: 1.3505,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-03'),
        EUR: 0.93341,
        JPY: 139.96,
        SGD: 1.3504,
        INR: 82.402
    },
    {
        USD: new Date('2023-06-04'),
        EUR: 0.93425,
        JPY: 140.06,
        SGD: 1.3504,
        INR: 82.407
    },
    {
        USD: new Date('2023-06-05'),
        EUR: 0.93341,
        JPY: 139.46,
        SGD: 1.3493,
        INR: 82.506
    },
    {
        USD: new Date('2023-06-06'),
        EUR: 0.93505,
        JPY: 139.61,
        SGD: 1.3483,
        INR: 82.520
    },
    {
        USD: new Date('2023-06-07'),
        EUR: 0.93464,
        JPY: 140.03,
        SGD: 1.3487,
        INR: 82.625
    },
    {
        USD: new Date('2023-06-08'),
        EUR: 0.92739,
        JPY: 138.90,
        SGD: 1.3427,
        INR: 82.481
    },
    {
        USD: new Date('2023-06-09'),
        EUR: 0.93028,
        JPY: 139.40,
        SGD: 1.3441,
        INR: 82.425
    },
    {
        USD: new Date('2023-06-10'),
        EUR: 0.92992,
        JPY: 139.39,
        SGD: 1.3440,
        INR: 82.421
    },
    {
        USD: new Date('2023-06-11'),
        EUR: 0.93066,
        JPY: 139.43,
        SGD: 1.3438,
        INR: 82.435
    },
    {
        USD: new Date('2023-06-12'),
        EUR: 0.92927,
        JPY: 139.56,
        SGD: 1.3435,
        INR: 82.329
    },
    {
        USD: new Date('2023-06-13'),
        EUR: 0.92665,
        JPY: 140.14,
        SGD: 1.3421,
        INR: 82.290
    },
    {
        USD: new Date('2023-06-14'),
        EUR: 0.92307,
        JPY: 140.06,
        SGD: 1.3414,
        INR: 82.045
    },
    {
        USD: new Date('2023-06-15'),
        EUR: 0.91334,
        JPY: 140.18,
        SGD: 1.3361,
        INR: 81.910
    },
    {
        USD: new Date('2023-06-16'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-17'),
        EUR: 0.91266,
        JPY: 141.83,
        SGD: 1.3404,
        INR: 81.907
    },
    {
        USD: new Date('2023-06-18'),
        EUR: 0.91401,
        JPY: 141.89,
        SGD: 1.3374,
        INR: 81.916
    },
    {
        USD: new Date('2023-06-19'),
        EUR: 0.91539,
        JPY: 141.92,
        SGD: 1.3405,
        INR: 81.982
    },
    {
        USD: new Date('2023-06-20'),
        EUR: 0.91579,
        JPY: 141.36,
        SGD: 1.3431,
        INR: 81.992
    },
    {
        USD: new Date('2023-06-21'),
        EUR: 0.91008,
        JPY: 141.72,
        SGD: 1.3402,
        INR: 81.944
    },
    {
        USD: new Date('2023-06-22'),
        EUR: 0.91292,
        JPY: 143.06,
        SGD: 1.3452,
        INR: 81.900
    },
    {
        USD: new Date('2023-06-23'),
        EUR: 0.91498,
        JPY: 143.72,
        SGD: 1.3508,
        INR: 81.971
    },
    {
        USD: new Date('2023-06-24'),
        EUR: 0.91608,
        JPY: 143.69,
        SGD: 1.3518,
        INR: 81.985
    },
    {
        USD: new Date('2023-06-25'),
        EUR: 0.91684,
        JPY: 143.46,
        SGD: 1.3518,
        INR: 81.961
    },
    {
        USD: new Date('2023-06-26'),
        EUR: 0.91655,
        JPY: 143.43,
        SGD: 1.3535,
        INR: 82.005
    },
    {
        USD: new Date('2023-06-27'),
        EUR: 0.91254,
        JPY: 143.97,
        SGD: 1.3493,
        INR: 82.000
    },
    {
        USD: new Date('2023-06-28'),
        EUR: 0.91607,
        JPY: 144.35,
        SGD: 1.3528,
        INR: 82.025
    },
    {
        USD: new Date('2023-06-29'),
        EUR: 0.92032,
        JPY: 144.77,
        SGD: 1.3561,
        INR: 82.073
    },
    {
        USD: new Date('2023-06-30'),
        EUR: 0.91610,
        JPY: 144.31,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-01'),
        EUR: 0.91610,
        JPY: 144.34,
        SGD: 1.3523,
        INR: 82.099
    },
    {
        USD: new Date('2023-07-02'),
        EUR: 0.91660,
        JPY: 144.33,
        SGD: 1.3521,
        INR: 82.097
    },
    {
        USD: new Date('2023-07-03'),
        EUR: 0.91631,
        JPY: 144.67,
        SGD: 1.3511,
        INR: 81.967
    },
    {
        USD: new Date('2023-07-04'),
        EUR: 0.91908,
        JPY: 144.46,
        SGD: 1.3494,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-05'),
        EUR: 0.92119,
        JPY: 144.54,
        SGD: 1.3533,
        INR: 82.395
    },
    {
        USD: new Date('2023-07-06'),
        EUR: 0.91822,
        JPY: 144.05,
        SGD: 1.3531,
        INR: 82.770
    },
    {
        USD: new Date('2023-07-07'),
        EUR: 0.91113,
        JPY: 142.09,
        SGD: 1.3503,
        INR: 82.651
    },
    {
        USD: new Date('2023-07-08'),
        EUR: 0.91152,
        JPY: 142.11,
        SGD: 1.3499,
        INR: 82.647
    },
    {
        USD: new Date('2023-07-09'),
        EUR: 0.91190,
        JPY: 142.18,
        SGD: 1.3465,
        INR: 82.628
    },
    {
        USD: new Date('2023-07-10'),
        EUR: 0.90896,
        JPY: 141.31,
        SGD: 1.3444,
        INR: 82.536
    },
    {
        USD: new Date('2023-07-11'),
        EUR: 0.90808,
        JPY: 140.22,
        SGD: 1.3406,
        INR: 82.384
    },
    {
        USD: new Date('2023-07-12'),
        EUR: 0.89801,
        JPY: 138.38,
        SGD: 1.3300,
        INR: 81.975
    },
    {
        USD: new Date('2023-07-13'),
        EUR: 0.89080,
        JPY: 138.02,
        SGD: 1.3223,
        INR: 82.031
    },
    {
        USD: new Date('2023-07-14'),
        EUR: 0.88939,
        JPY: 138.69,
        SGD: 1.3211,
        INR: 82.134
    },
    {
        USD: new Date('2023-07-15'),
        EUR: 0.88992,
        JPY: 138.69,
        SGD: 1.3209,
        INR: 82.116
    },
    {
        USD: new Date('2023-07-16'),
        EUR: 0.89084,
        JPY: 138.76,
        SGD: 1.3219,
        INR: 82.075
    },
    {
        USD: new Date('2023-07-17'),
        EUR: 0.88965,
        JPY: 138.71,
        SGD: 1.3216,
        INR: 82.057
    },
    {
        USD: new Date('2023-07-18'),
        EUR: 0.89041,
        JPY: 138.94,
        SGD: 1.3225,
        INR: 82.076
    },
    {
        USD: new Date('2023-07-19'),
        EUR: 0.89269,
        JPY: 139.62,
        SGD: 1.3251,
        INR: 82.065
    },
    {
        USD: new Date('2023-07-20'),
        EUR: 0.89814,
        JPY: 139.98,
        SGD: 1.3267,
        INR: 82.084
    },
    {
        USD: new Date('2023-07-21'),
        EUR: 0.89824,
        JPY: 141.78,
        SGD: 1.3309,
        INR: 82.003
    },
    {
        USD: new Date('2023-07-22'),
        EUR: 0.89857,
        JPY: 141.78,
        SGD: 1.3306,
        INR: 82.004
    },
    {
        USD: new Date('2023-07-23'),
        EUR: 0.89864,
        JPY: 141.75,
        SGD: 1.3308,
        INR: 82.005
    },
    {
        USD: new Date('2023-07-24'),
        EUR: 0.90382,
        JPY: 141.51,
        SGD: 1.3317,
        INR: 81.814
    },
    {
        USD: new Date('2023-07-25'),
        EUR: 0.90485,
        JPY: 140.92,
        SGD: 1.3278,
        INR: 81.956
    },
    {
        USD: new Date('2023-07-26'),
        EUR: 0.90178,
        JPY: 140.41,
        SGD: 1.3254,
        INR: 81.976
    },
    {
        USD: new Date('2023-07-27'),
        EUR: 0.91046,
        JPY: 139.18,
        SGD: 1.3305,
        INR: 82.373
    },
    {
        USD: new Date('2023-07-28'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.260
    },
    {
        USD: new Date('2023-07-29'),
        EUR: 0.90651,
        JPY: 141.15,
        SGD: 1.3309,
        INR: 82.266
    },
    {
        USD: new Date('2023-07-30'),
        EUR: 0.90709,
        JPY: 140.93,
        SGD: 1.3319,
        INR: 82.263
    },
    {
        USD: new Date('2023-07-31'),
        EUR: 0.90896,
        JPY: 142.27,
        SGD: 1.3295,
        INR: 82.241
    },
    {
        USD: new Date('2023-08-01'),
        EUR: 0.90869,
        JPY: 142.90