@@ -128,6 +128,36 @@ cd dictionary
128128python app.py
129129```
130130
131+ * ### Highcharts loader
132+ It is a simple program that can load charts from [ highcharts] ( www.highcharts.com ) .
133+ After loading chart you can save it to file or embed it into your html page in base64 format.
134+ Don't forget install ` requests ` library from ` highcharts_loader_requirements.txt `
135+ ``` python
136+ from highcharts_loader import ChartLoader, Options
137+
138+ options = Options(from_file = ' options.json' )
139+ chart = ChartLoader(options)
140+ chart.save_to_file(' result.png' )
141+ ```
142+
143+ options.json example:
144+ ``` json
145+ {
146+ "chart" : {
147+ "type" : " bar"
148+ },
149+ "title" : {
150+ "text" : " Which channels are driving engagement?"
151+ },
152+ "xAxis" : {
153+ "categories" : [" Jan" , " Feb" , " Mar" , " Apr" , " May" , " Jun" ,
154+ " Jul" , " Aug" , " Sep" , " Oct" , " Nov" , " Dec" ]
155+ },
156+ "series" : [{
157+ "data" : [29.9 , 71.5 , 106.4 , 129.2 , 144.0 , 176.0 , 135.6 , 148.5 , 216.4 , 194.1 , 95.6 , 54.4 ]
158+ }]
159+ }
160+ ```
131161
132162* ### Image Encoder
133163It is a simple program to encode and decode images, which helps to reduce and handle images on server, as it is convertedto base64 address.
@@ -365,6 +395,7 @@ The following people helped in creating the above content.
365395* <a href =" https://github.com/pr0me " target =" _blank " >Lukas S.</a >
366396* <a href =" https://github.com/iyanuashiri " target =" _blank " >Iyanu Ashiri</a >
367397* <a href =" https://github.com/niharikakrishnan " >Niharika Krishnan</a >
398+ * <a href =" https://github.com/lionasp " target =" _blank " >Pugach Vitalii</a >
368399
369400### If you like the project give a star [ <img src =" Selection_008.png " alt =" Star button " align =" top " >] ( https://github.com/Logan1x/Python-Scripts/stargazers )
370401
0 commit comments