Skip to content

Commit

Permalink
move example pie charts out of dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zibs committed Mar 20, 2024
1 parent a72d841 commit 73017da
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions example/app/consts/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,24 @@ export const ChartRoutes: {
"This chart showcases using custom shaders from Skia, leveraging shader uniforms derived from Reanimated shared values.",
path: "/custom-shaders",
},
{
title: "Pie Chart",
description:
"This is a Pie chart in Victory. It has support for customizing each slice and adding insets.",
path: "/pie-chart",
},
{
title: "Donut Chart",
description:
"This is how to make a Donut chart in Victory. It is built off of the Pie chart using the `innerRadius` prop.",
path: "/donut-chart",
},
{
title: "Pie and Donut Assortment",
description:
"This is mixture of Pie and Donut charts, showing off the different ways to customize the charts.",
path: "/pie-and-donut-charts",
},
];

if (__DEV__) {
Expand Down Expand Up @@ -85,24 +103,6 @@ if (__DEV__) {
"This page shows multiple charts with gestures inside a scrollview to ensure both platforms allow for this behavior.",
path: "/scrollview-charts",
},
{
title: "Pie Chart",
description:
"This is a Pie chart in Victory. It has support for customizing each slice and adding insets.",
path: "/pie-chart",
},
{
title: "Donut Chart",
description:
"This is how to make a Donut chart in Victory. It is built off of the Pie chart using the `innerRadius` prop.",
path: "/donut-chart",
},
{
title: "Pie and Donut Assortment",
description:
"This is mixture of Pie and Donut charts, showing off the different ways to customize the charts.",
path: "/pie-and-donut-charts",
},
);
}

Expand Down

0 comments on commit 73017da

Please sign in to comment.