Merci à nos donateurs:
M. Blanc
M. JavierMartinez
M. Viktor
M.
Emanuel Roggen
M. Raphaël
Chochon
M. José
Luis Sanchez
M. Daniel Stuyck
M. Jean-Pierre
Tonnele
M. Benoist Lerouge
M. Pierre Sabatier
M. Patrick Ollivier
M. Michel Le
Viol
M. César
López
M. Didier Mestric
M. Francesco
Paolo Trapani
M. Charles Durand
M.
Philippe Blanchard
M. Benjamin
Leblic
Philippe Dupertuys
M. Jaume Mas
Ferrer
M. Daniel Lavocat
M. Jean-Pierre
Bernard
M.Gérard Egger
M. Jean-Claude
Birade
M. Dominique
Herraire
M. Eric Lemoine
M. Jean Gabriel
Boulet
M. Olivier Bovel
M. Arnaud Rahier
M. Bruno Goyac
M. Jean Michel
Vouillot
M. Sarah Cordeau
M. Jean-Pierre
Grieu
M. Loic Roulin
M. Michel Beel
M. Dominique
Gautheron
M. Hubert Verwilghen
Picardie WebMarketing
M. Patrick Puydebois
M. Thierry Hauuy
M. Francis Mirante
Visiteurs depuis le 07.01.2010
Visites du jour :
Tutoriel MySQL
- Highcharts
Customizing charts
using Highcharts API
I will explain how to use the Highcharts API.
Suppose we want to put a
background color on our chart "temperature"
In the search window, type
a keyword, such as color or background.
In the results window, click
chart.plotBackgroundColor
In the right window, the
options are displayed, choose the color (solid color) or gradient
(gradient)
let's do a little crazy and choose a gradient. Then click on gradient.
Opens a new browser window,
the site http://jsfiddle.net, you can try all options
Highcharts, here's how.
In the code, we found our
option "plotBackgroundColor"
CAUTION: You must close all brackets [], parentheses (), braces
{}
and do not forget a comma, otherwise the graph is not displayed.
Tip: After each change, try the result.
with parameters such as the
URL of the image, the x position, y position, the width of the image,
the image height
Résultat
A final example, let's change the position and customize our legend,
we did Search "legend"
In the right window, you will see all the options available to
the legend.
In our graph does not refer to the legend grew as ASTE is the
default.
Therefore, it is necessary to introduce into any part of our code,
this label "legend"; the place does not matter, simply
insert the end of another option. For example we chose to put
it after the label "credit" for what we after the last
comma on the option of "credits".
Attention, les données météo publiées
sur ce site sont issues d'une station météo personnelle
et ne sont données qu'à titre indicatif,
elles ne peuvent en aucun cas être utilisées pour garantir
la protection des personnes ou de biens quelconques.
Stations amies
MySQL - Highcharts page n°8
Customizing charts using Highcharts API