[Access] Titre d'un graphique

Titre d'un graphique [Access] - VB/VBA/VBS - Programmation

Marsh Posté le 13-06-2002 à 15:24:39    

Bonjour, j'aimerais savoir comment donner un titre à un graphique dans un formulaire, par l'intermédiaire du code VBA...
g cherché un truc du style graph1.title mais ca existe pas !!  
 
merci d'avance...


---------------
Music|Market|Feed|Loom|DVD
Reply

Marsh Posté le 13-06-2002 à 15:24:39   

Reply

Marsh Posté le 13-06-2002 à 16:00:18    

[:_deckard_]  
 
merci d'avance, si je n'ai pas été assez précis, dites le...


---------------
Music|Market|Feed|Loom|DVD
Reply

Marsh Posté le 13-06-2002 à 16:04:24    

c'est pas la propriété "name" ?


---------------
"I wonder if the internal negative pressure in self pumping toothpaste tubes is adjusted for different market altitudes." John Carmack
Reply

Marsh Posté le 13-06-2002 à 16:06:10    

mareek a écrit a écrit :

c'est pas la propriété "name" ?  




 
 
je viens de tester, et c pas ça
il me dit impossible d'affecter une valeur à cet  objet
 
la valeur de name pour un graphique nommé graph1 est graph1 justement.
 
merci qd meme
autre chose ??


---------------
Music|Market|Feed|Loom|DVD
Reply

Marsh Posté le 13-06-2002 à 17:53:39    

[:_deckard_]


---------------
Music|Market|Feed|Loom|DVD
Reply

Marsh Posté le 14-06-2002 à 10:10:12    

:bounce:


---------------
Music|Market|Feed|Loom|DVD
Reply

Marsh Posté le 14-06-2002 à 12:38:02    

Je pense pas que ça soit possible,  
par contre tu peux mettre une textbox au dessus de ton graphique (sans titre) et la gérer dans le Code ? :/

Reply

Marsh Posté le 14-06-2002 à 13:52:03    

Bolino a écrit a écrit :

Je pense pas que ça soit possible,  
par contre tu peux mettre une textbox au dessus de ton graphique (sans titre) et la gérer dans le Code ? :/  




 
 
putain, mais c trop con, ça!!
mouais, mais bon, sachant que c pour éditer des docs assez officiels, vaut mieux que ca soit clean !
 
merci quand même...


---------------
Music|Market|Feed|Loom|DVD
Reply

Marsh Posté le 14-06-2002 à 14:38:32    

Bon pour ta réponse, tu ne peux pas changer le titre d'un graphique (visiblement, tout vient de row source y compris le titre du graphique, cf texte de Micorsoft dessous).
 
Ce que tu dois pouvoir faire, c'est travailler à partir d'un activeX Microsoft Office Chart 9.0 lié à ton recordset sur lequel tu auras plus de possibilité.  
 
 
 
----------------------------------------------
 
I change the chart in my form or report, but the changes aren't retained.
A chart is made up of information from the following places, in order of precedence:  
 
The data in the underlying table or other record source.
 
 
The chart's RowSource property
 
 
The Microsoft Graph application  
Microsoft Access regenerates the chart each time you print or preview the chart, or switch to Form view. Therefore, changes that you make using Microsoft Graph might be overwritten by the underlying data or the RowSource property.
 
Keep the following in mind when you change your chart:  
 
Changes to the underlying data (such as the format of the data) have precedence over other changes. However, if the RowSource property setting contains a calculated field, such as =Format([StartDate],"MMM" ), the format is determined by the result of the calculation, not by the underlying data.
 
 
Changes in the RowSource property, such as changes to the chart's title and labels, can be overwritten by changes in the underlying data.
 
 
Changes you make using Microsoft Graph, such as changes based on the data, can be overwritten by changes you make in the underlying table or other record source or in the RowSource property.

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed