{"id":13401829,"url":"https://github.com/flot/flot","last_synced_at":"2025-05-07T11:51:06.805Z","repository":{"id":1348500,"uuid":"1295612","full_name":"flot/flot","owner":"flot","description":"Attractive JavaScript charts for jQuery","archived":false,"fork":false,"pushed_at":"2023-11-08T19:56:18.000Z","size":4711,"stargazers_count":5939,"open_issues_count":627,"forks_count":1557,"subscribers_count":271,"default_branch":"master","last_synced_at":"2025-04-29T21:01:54.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.flotcharts.org/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2011-01-26T15:48:51.000Z","updated_at":"2025-04-23T12:08:26.000Z","dependencies_parsed_at":"2023-07-06T13:16:08.452Z","dependency_job_id":"82e1721b-4441-4a65-9c5f-e08982429ff7","html_url":"https://github.com/flot/flot","commit_stats":{"total_commits":941,"total_committers":93,"mean_commits":"10.118279569892474","dds":0.665249734325186,"last_synced_commit":"84f3e5d5e997f2f7c0180314ccbc6175ad40cab7"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flot%2Fflot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flot%2Fflot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flot%2Fflot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flot%2Fflot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flot","download_url":"https://codeload.github.com/flot/flot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252284932,"owners_count":21723671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:01:07.682Z","updated_at":"2025-05-07T11:51:06.756Z","avatar_url":"https://github.com/flot.png","language":"JavaScript","readme":"# flot [![Build Status](https://travis-ci.org/flot/flot.svg?branch=master)](https://travis-ci.org/flot/flot) [![CircleCI](https://circleci.com/gh/flot/flot.svg?style=svg)](https://circleci.com/gh/flot/flot) [![Coverage Status](https://coveralls.io/repos/github/flot/flot/badge.svg?branch=master)](https://coveralls.io/github/flot/flot?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/flot/flot.svg)](https://greenkeeper.io/)\n\n## About ##\n\nflot is a JavaScript plotting library for engineering and scientific\napplications derived from Flot: \u003chttp://www.flotcharts.org/\u003e\n\nTake a look at the the examples in examples/index.html; they should give a good\nimpression of what flot can do, and the source code of the examples is probably\nthe fastest way to learn how to use flot.\n\n\n## Installation ##\n\nJust include the JavaScript file after you've included jQuery.\n\nGenerally, all modern browsers are supported.\n\nYou need at least jQuery 1.2.6, but try at least 1.3.2 for interactive\ncharts because of performance improvements in event handling.\n\n\n## Basic usage ##\n\nCreate a placeholder div to put the graph in:\n\n```html\n\u003cdiv id=\"placeholder\"\u003e\u003c/div\u003e\n```\n\nYou need to set the width and height of this div, otherwise the plot\nlibrary doesn't know how to scale the graph. You can do it inline like\nthis:\n\n```html\n\u003cdiv id=\"placeholder\" style=\"width:600px;height:300px\"\u003e\u003c/div\u003e\n```\n\nYou can also do it with an external stylesheet. Make sure that the\nplaceholder isn't within something with a display:none CSS property -\nin that case, Flot has trouble measuring label dimensions which\nresults in garbled looks and might have trouble measuring the\nplaceholder dimensions which is fatal (it'll throw an exception).\n\nThen when the div is ready in the DOM, which is usually on document\nready, run the plot function:\n\n```js\n$.plot($(\"#placeholder\"), data, options);\n```\n\nHere, data is an array of data series and options is an object with\nsettings if you want to customize the plot. Take a look at the\nexamples for some ideas of what to put in or look at the\n[API reference](API.md). Here's a quick example that'll draw a line\nfrom (0, 0) to (1, 1):\n\n```js\n$.plot($(\"#placeholder\"), [ [[0, 0], [1, 1]] ], { yaxis: { max: 1 } });\n```\n\nThe plot function immediately draws the chart and then returns a plot\nobject with a couple of methods.\n\n## Documentation and examples\n\nAPI Documentation is available here: [API reference](docs/API.md)\n\nAbout how the plugins work: [Plugins](docs/PLUGINS.md)\n\nHigh level overview on how interactions are handled internally: [Interactions](docs/interactions.md)\n\nExamples are included in the examples folder of this repository, but they can be tried out online as well: [Examples](https://rawgit.com/flot/flot/master/examples/index.html)\n\n## CircleCI\n\n[CircleCI](https://circleci.com/) is used in this repo to run [dont-break](https://www.npmjs.com/package/dont-break),\nwhich checks if the current version of flot breaks unit tests on specified dependent projects.","funding_links":[],"categories":["JavaScript","Uncategorized","Data Visualization","Framework or Library","others","Data Visualization [🔝](#readme)","数据可视化","Animation"],"sub_categories":["Uncategorized","Runner","Charts","运行器","Images, Maps and Charts","运行器e2e测试"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflot%2Fflot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflot%2Fflot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflot%2Fflot/lists"}