Chartisan provides adapters for most common programming languages used on the web. This makes it easy to quickly use Chartisan to build charts on the go. All the adapters are extremly lightwheight and have no dependencies at all and also comes fully typed or annotated. After you have the adapter installed, you may start creating your chart. For this, you must create an GET endpoint where the data will be outputted. Chartisan's protocol uses JSON, so make sure to include the appropiate headers. You can find more about installing the adapters or setting the headers at installing adapters and setting up data sections on the general walk-through. Once your endpoint is created, you can then use the adapter to create a JSON string containing your chart. The adapter will take care of using the protocol, all you need to do is define the datasets and the labels of your chart.
chart variable will contain a string with a correctly formatted JSON that follows the Chartisan protocol and can be the output of the endpoint with the correct JSON headers.
The header above should be send with the HTTP response.