Skip to content

Commit

Permalink
test chart
Browse files Browse the repository at this point in the history
  • Loading branch information
rosticom committed Oct 30, 2024
1 parent 5365e14 commit 45bac62
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/TonusdChart/TonusdChart.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
import axios from 'axios';
import moment, { duration } from 'moment';
import moment from 'moment';
import { Line } from 'react-chartjs-2';
import { Chart as ChartJS, CategoryScale, LinearScale, PointElement, LineElement, Title } from 'chart.js';

Expand Down Expand Up @@ -53,13 +53,10 @@ const TonUsdChart = () => {
const options = {
responsive: true,
animation: {
duration: 1000,
easing: 'easeInOutQuad',
duration: 500,
},
plugins: {
legend: {
// position: 'top',
},
legend: {},
title: {
display: true,
text: 'TON/USD Exchange Rate (Last 120 Days)',
Expand Down

0 comments on commit 45bac62

Please sign in to comment.