Giter Club home page Giter Club logo

project_syncfusion_dashboard's Introduction

Build and Deploy a React Admin Dashboard App With Theming, Tables, Charts, Calendar, Kanban and More

Shoppy

Introduction

This is a code repository for the corresponding video tutorial.

If you want to get a finished, highly customizable Material UI version of a similar dashboard, check out Flexy React Material Dashboard.

Launch your development career with project-based coaching - https://www.jsmastery.pro

project_syncfusion_dashboard's People

Contributors

adrianhajdin avatar mandeepsinghmar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

project_syncfusion_dashboard's Issues

Settings Icon Creating Issue

The settings icon which was included at the start of the video is not appearing in the bottom right corner of the screen instead it's appearing in the top left corner of the screen.

I've used the exact code as shown in the video and as given in the GitHub repository. Kindly look at my code and suggest to me how I can sort this issue.
2022-09-10 16_19_35-

2022-09-10 16_19_47-App js - admin_dashboard_workspace (Workspace) - Visual Studio Code

Mode changes are lost during refresh

In the ContextProvider.js file, the colorMode and the themeMode are stored in the localStorage. However, if the user reloads the site those changes are lost due to the hardcoded default settings.

Tailwind BackgroundImage

The backgroundImage defined in the tailwind.configs.js is rendering a plain white image. This is the background rendered with the 'bg-hero-pattern' className. Should be the colorful lady at a desk image that is shown in the tutorial.

backgroundImage: {
'hero-pattern':
"url('https://i.ibb.co/MkvLDfb/Rectangle-4389.png')",
},

GoPrimitiveDot Component doesn't work

I've imported the GoPrimitiveDot component from react-icons/go to use it as the tutorial said, but it seems it doesn't exist in the previous folder. I guess there's a problem in depandecies version or something like that.

many components are listed as not defined..

export 'MultiSelect' (imported as 'MultiSelect') was not found in '@syncfusion/ej2-dropdowns'

export 'DropDownList' (imported as 'DropDownList') was not found in '@syncfusion/ej2-dropdowns' (module has no exports)

'TimePicker' (imported as 'TimePicker') was not found in '@syncfusion/ej2-calendars' (module has no exports)

etc...

I simply downloaded and installed it with peer deps.

_redirect for netlify

When reloading on netlify it shows Page not found. This can be solved using redirects file in the public folder

Sparkline

I've followed the tutorial as closely as possible, however, the Sparkline still won't show. I've logged the data, its clearly being passed into the Sparkline component, but the chart just won't show. Any ideas?

Screenshot (295)

My SparkLine.js file currently looks like this (Without console logs)

import React from 'react';
import {SparklineComponent , Inject, SparklineTooltip } from '@syncfusion/ej2-react-charts';

const SparkLine = ({id, height, width, color, data, type, currentColor}) => {
  return (
    <SparklineComponent 
    id={id}
    height={height}
    width={width}
    lineWidth={1}
    valueType="Numeric"
    fill={color}
    border={{ color: currentColor, width: 2 }}
    dataSource={data}
    xName="x"
    yName="y"
    type={type}
    >
      <Inject services={[SparklineTooltip]} />
    </SparklineComponent>
  )
}

export default SparkLine

and my Ecommerce.jsx currently looks like this:

`import React from 'react'
import { BsCurrencyDollar } from 'react-icons/bs';
import {GoDotFill} from 'react-icons/go';

import {Stacked, Pie, Button, SparkLine} from '../components';
import {earningData, SparklineAreaData, ecomPieChartData} from '../data/dummy';
import { useStateContext } from '../contexts/ContextProvider';

const Ecommerce = () => {
return (






Earnings


$70,899.67







    {/* Card Items Start Here */}
    <div className="flex m-3 flex-wrap justify-center">
      {earningData.map((item) =>(<div key={item.title} className="bg-white dark:text-gray-200 dark:bg-secondary-dark-bg md:w-56 p-4 pt-9 rounded-2xl">  
        <button type="button"
        style={{color: item.iconColor, backgroundColor: item.iconBg}} className='text-2xl opacity-0.9 rounded-full p-4 hover:drop-shadow-xl'>
          {item.icon}
        </button>
        <p className="mt-3">
          <span className='text-lg font-semibold'>
            {item.amount}
          </span>
          <span className={`text-sm text-${item.pcColor} ml-2`}>
            {item.percentage}
          </span>
        </p>
        <p className="text-sm text-gray-400 mt-1">{item.title}</p>
        </div>
      ))}
    </div>
  </div>
  {/* Card Items End Here */}


  {/* Revenue Updates Start Here */}
  <div className="flex gap-10 flex-wrap justify-center">
    <div className="bg-white dark:text-gray-200 dark:bg-secondary-dark-bg  m-3 p-4 rounded-2xl md:w-780">
      <div className="flex justify-between">
          <p className="font-semibold text-xl">Revenue Updates</p>
          <div className="flex items-center gap-4">
            <p className="flex items-center gap-2 text-gray-600 hover:drop-shadow-xl">
              <span><GoDotFill /></span>
              <span>Expense</span>
            </p>
            <p className="flex items-center gap-2 text-green-400 hover:drop-shadow-xl">
              <span><GoDotFill /></span>
              <span>Budget</span>
            </p>
          </div>
        </div>

        <div className="mt-10 flex gap-10 flex-wrap justify-center">
          <div className="border-r-1 border-color m-4 pr-10">
            <div>
              <p>
                <span className="text-3xl font-semibold">$95,672</span>
                <span className='p-1.5 hover:drop-shadow-xl cursor-pointer rounded-full text-white bg-green-400 ml-3 text-xs'>25%</span>
              </p>
              <p className="text-gray-500 mt-1">Budget</p>
            </div>
            <div className="mt-8">
              <p>
                <span className="text-3xl font-semibold">$45,349</span>
                
              </p>
              <p className="text-gray-500 mt-1">Expense</p>
            </div>

            {/* SparkLine Chart */}
            <div className="mt-5">
              <SparkLine 
              currentColor="blue" 
              id="line-sparkline"
              type="Line"
              height="80px"
              width="250px"
              data={ SparklineAreaData } 
              color="blue" />
            </div>

          </div>
          
        </div>

      </div>          
  </div>
</div>

)
}

export default Ecommerce`

No banner

At 1:42, I am not getting that banner! Where should I import that?

i Dont have banner

image this banner dont work for me no idea why
image
I try also downloand your files and just paste to my project and dont work also no idea why

Financial chart doesn't work

It's the Financial Component here, I can't see the hilo line on the chart.
Is anyone can help please?

import {
	ChartComponent,
	SeriesCollectionDirective,
	SeriesDirective,
	HiloSeries,
	Tooltip,
	DateTime,
	Zoom,
	Logarithmic,
	Crosshair,
	Inject,
} from "@syncfusion/ej2-react-charts";
import {
	financialChartData,
	FinancialPrimaryXAxis,
	FinancialPrimaryYAxis,
} from "../../data/dummy";
import { useStateContext } from "../../contexts/ContextProvider";
import { ChartsHeader } from "../../components";

const date1 = new Date("2017, 1, 1");

function filterValue(value) {
	if (value.x >= date1) {
		return value.x, value.high, value.low;
	}
}
const returnValue = financialChartData.filter(filterValue);

const Financial = () => {
	const { currentMode } = useStateContext();
	return (
		<div className="m-4 md:m-10 mt-24 p-10 bg-white dark:bg-secondary-dark-bg rounded-3xl">
			<ChartsHeader category="Financial" title="AAPL Historical" />
			<div className="w-full">
				<ChartComponent
					id="charts"
					crosshair={{ enable: true, lineType: "Vertical", line: { width: 0 } }}
					primaryXAxis={FinancialPrimaryXAxis}
					primaryYAxis={FinancialPrimaryYAxis}
					chartArea={{ border: { width: 0 } }}
					background={currentMode === "Dark" ? "#33373E" : "#fff"}
					style={{ textAlign: "center" }}
					tooltip={{ enable: true, shared: true }}
				>
					<Inject
						services={[
							HiloSeries,
							Tooltip,
							DateTime,
							Zoom,
							Logarithmic,
							Crosshair,
						]}
					/>
					<SeriesCollectionDirective>
						<SeriesDirective
							datasource={returnValue}
							type="Hilo"
							xName="x"
							low="low"
							high="high"
							name="Apple Inc"
							yName="low"
						/>
					</SeriesCollectionDirective>
				</ChartComponent>
			</div>
		</div>
	);
};

export default Financial;

Capture d’écran 2022-09-22 à 17 24 48

Seup Issues

project

I'm having setup problems.

Kindly advice.

Thank you.

Problems with syncfusion

I have followed the steps in the video tutorial in this project to install syncfusion.

Now I have tried to implement the TooltipComponent and it gives me the following error:

"This application was built using a trial version of Syncfusion Essential Studio. Please include a valid license to permanently remove this license validation message. You can also obtain a free 30 day evaluation license to temporarily remove this message during the evaluation period. Please refer to this help topic for more information."

I've searched for the solution but I can't figure it out. I didn't know that syncfusion was paid. Will I have an alternative to use it for free?

Building issue (npm run build -> Failed to compile.)

Appreciate the works so beautiful.

I just pulled the project without any changes ( I only did "npm install" after pull), unfortunatelly I cannot "npm run build" this project.

First error:

error1

I tried to fix it by executing the instruction of the error.
updated

Then I just get the error without any description or details why it 'failed to compile.'..
error2
How to fix this ^?

grid component scroll issue

When I scroll the screen the grid on the page does not go under the sidebar, rather slides on top of the sidebar. please have a look in the screenshot.
image

Tailwind not working

I've tried multiple of things to make it work, but seems like tailwind isn't connecting to my project. Any fixes ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.