Skip to content

Conversation

@RJ0907
Copy link
Contributor

@RJ0907 RJ0907 commented Feb 4, 2026

Generating either a line chart or a pie chart according to a convinient dataset template

@RJ0907
Copy link
Contributor Author

RJ0907 commented Feb 4, 2026

צילום מסך 2026-02-04 170854

@RJ0907
Copy link
Contributor Author

RJ0907 commented Feb 4, 2026

צילום מסך 2026-02-04 170823

@YoniKiriaty YoniKiriaty added the feature A new Feature! label Feb 4, 2026
Copy link
Contributor

@yoavs8 yoavs8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trust

);

export interface LineChartProps {
dataSetsProps: DataSet<any>[];

Check warning

Code scanning / ESLint

Disallow the `any` type Warning

Unexpected any. Specify a different type.
};
};

export const LineGraph = ({ dataSetsProps, min, max }: LineChartProps) => {

Check warning

Code scanning / ESLint

Require explicit return and argument types on exported functions' and classes' public class methods Warning

Missing return type on function.
};
};

export const PieGraph = ({ name, points, color }: DataSet<string | number>) => {

Check warning

Code scanning / ESLint

Require explicit return and argument types on exported functions' and classes' public class methods Warning

Missing return type on function.
@RJ0907 RJ0907 merged commit 4e3a1b7 into master Feb 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature A new Feature!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants