1. A method of creating a dynamic chart definition, comprising: receiving from a user a selection of a data definition, wherein the data definition includes one or more data sources with one or more data fields; receiving from the user a selection of one or more operators wherein the user selects the one or more operators from a list of graphical representations of operators; creating a dataset having one or more fields, wherein at least one of the fields of the dataset corresponds to a component of a chart; receiving from the user input indicating a mapping between one or more of the data fields of the data definition and the one or more operators, and between the one or more operators and a particular field in the dataset, wherein the mapping specifies that the one or more operators perform one or more operations on information in the one or more data fields of the data definition to produce information for the particular field in the dataset, and wherein the mapping is specified graphically by the user using a graphical user interface (GUI) by placing the data definition, the dataset, and the one or more operators onto a canvas and graphically connecting the one or more data fields of the data definition and the one or more operators and graphically connecting the one or more operators and the particular field in the dataset, wherein receiving from the user input indicating a mapping includes receiving user input forming one or more lines from the one or more data fields of the data definition to the one or more operators to the particular field in the dataset; automatically translating the mapping into code that implements the mapping; and storing the mapping, the code, the data definition, the operators and the dataset as a chart definition; wherein the method is performed by a computer.