Table des matières
Comment utiliser le graphique barres partitionné #
Pour la création d’un histogramme, nous utiliserons la requête suivante enregistrée sous le nom : Wiki-PP-Graphiques-Barres-Parttionné-01.
Dans la requête, il faut seulement sélectionner :
- TypeChar : affectation à Nom des catégories dans Edition Web du composant
- TypeCharCompl1 : affectation à Nom des colonnes dans Edition Web du composant
- TypeIntCompl1 : affectation à Valeurs dans Edition Web du composant
USE [Datawarehouse]
GO
/****** Object: Table [dbo].[Wiki-PP-Barre_Partitionne] Script Date: 22/05/2025 09:38:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Wiki-PP-Barre_Partitionne](
[TypeDate] [datetime] NULL,
[TypeChar] [nvarchar](255) NULL,
[TypeInt] [int] NULL,
[TypeCharCompl1] [nvarchar](255) NULL,
[TypeCharCompl2] [nvarchar](255) NULL,
[TypeIntCompl1] [int] NULL
) ON [PRIMARY]
GO
INSERT [dbo].[Wiki-PP-Barre_Partitionne] ([TypeDate], [TypeChar], [TypeInt], [TypeCharCompl1], [TypeCharCompl2], [TypeIntCompl1]) VALUES (NULL, N'Fruit', 2025, N'Pêche', NULL, 25)
GO
INSERT [dbo].[Wiki-PP-Barre_Partitionne] ([TypeDate], [TypeChar], [TypeInt], [TypeCharCompl1], [TypeCharCompl2], [TypeIntCompl1]) VALUES (NULL, N'Fruit', 2025, N'Cerise', NULL, 10)
GO
INSERT [dbo].[Wiki-PP-Barre_Partitionne] ([TypeDate], [TypeChar], [TypeInt], [TypeCharCompl1], [TypeCharCompl2], [TypeIntCompl1]) VALUES (NULL, N'Fruit', 2025, N'Kiwi', NULL, 52)
GO
INSERT [dbo].[Wiki-PP-Barre_Partitionne] ([TypeDate], [TypeChar], [TypeInt], [TypeCharCompl1], [TypeCharCompl2], [TypeIntCompl1]) VALUES (NULL, N'Légume', 2025, N'Tomate', NULL, 150)
GO
INSERT [dbo].[Wiki-PP-Barre_Partitionne] ([TypeDate], [TypeChar], [TypeInt], [TypeCharCompl1], [TypeCharCompl2], [TypeIntCompl1]) VALUES (NULL, N'Légume', 2025, N'Asperge', NULL, 75)
GO
INSERT [dbo].[Wiki-PP-Barre_Partitionne] ([TypeDate], [TypeChar], [TypeInt], [TypeCharCompl1], [TypeCharCompl2], [TypeIntCompl1]) VALUES (NULL, N'Légume', 2025, N'Pomme de terre', NULL, 152)
GO
INSERT [dbo].[Wiki-PP-Barre_Partitionne] ([TypeDate], [TypeChar], [TypeInt], [TypeCharCompl1], [TypeCharCompl2], [TypeIntCompl1]) VALUES (NULL, N'Légume', 2025, N'Concombre', NULL, 35)
GO
