Sign inSign up

successage/arecharts

By successage

•Updated almost 5 years ago

Image
0

426

successage/arecharts repository overview

⁠arex and echats-ssr-server

⁠docker run

docker run -d --rm -p 3824:3824 -p 8081:8081 --name arecharts successage/arecharts:211125

⁠summary

curl -X POST -d '{"url":"http://news.cnr.cn/dj/20211116/t20211116_525661852.shtml","size":100,"smooth":false}' http://localhost:3824|jq -r .

size is the length of the summary you expect. smooth indicates whether the extracted abstract needs to be continuous sentences

⁠Echarts

referer⁠

curl --request POST \
  --url http://localhost:8081/ \
  --header 'Content-Type: application/json' \
  --data '{
	"width": 600,
	"height": 600,
	"option": {
		"series": [
			{
				"type": "pie",
				"radius": [
					"10%",
					"30%"
				],
				"center": [
					"50%",
					"50%"
				],
				"roseType": "area",
				"itemStyle": {
					"borderRadius": 8
				},
				"label": {
					"overflow": "breakAll",
					"fontSize": 9,
					"position": "outside"
				},
				"labelLine": {
					"length": 5,
					"length2": 5
				},
				"data": [
					{
						"value": 200,
						"name": "萨迪克风\n浪就当牲口浪费"
					},
					{
						"value": 500,
						"name": "A阿谁都理解;\n发了多少付费"
					},
					{
						"value": 300,
						"name": "阿谁都x理解;\n发了多少付费"
					}
				]
			}
		]
	}
}'

Tag summary

Content type

Image

Digest

Size

440.7 MB

Last updated

almost 5 years ago

docker pull successage/arecharts