{"action":"created","issue":{"url":"https://api.github.com/repos/knsv/mermaid/issues/643","repository_url":"https://api.github.com/repos/knsv/mermaid","labels_url":"https://api.github.com/repos/knsv/mermaid/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/knsv/mermaid/issues/643/comments","events_url":"https://api.github.com/repos/knsv/mermaid/issues/643/events","html_url":"https://github.com/knsv/mermaid/issues/643","id":307744633,"number":643,"title":"Is it possible to use custom CSS with the Gantt chart?","user":{"login":"mehertz","id":3106180,"avatar_url":"https://avatars2.githubusercontent.com/u/3106180?v=4","gravatar_id":"","url":"https://api.github.com/users/mehertz","html_url":"https://github.com/mehertz","followers_url":"https://api.github.com/users/mehertz/followers","following_url":"https://api.github.com/users/mehertz/following{/other_user}","gists_url":"https://api.github.com/users/mehertz/gists{/gist_id}","starred_url":"https://api.github.com/users/mehertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehertz/subscriptions","organizations_url":"https://api.github.com/users/mehertz/orgs","repos_url":"https://api.github.com/users/mehertz/repos","events_url":"https://api.github.com/users/mehertz/events{/privacy}","received_events_url":"https://api.github.com/users/mehertz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-22T17:34:03Z","updated_at":"2018-03-23T09:45:29Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI can't work out how to use custom CSS with the Gantt chart. Let's say I want to define a CSS class for a block type just like \"done\", or \"active\", how would I do that? Simply creating one (\"cancelled\") and referencing it by name (\":cancelled, ...\") doesn't seem to work.\r\n\r\nAny ideas?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/knsv/mermaid/issues/comments/375597267","html_url":"https://github.com/knsv/mermaid/issues/643#issuecomment-375597267","issue_url":"https://api.github.com/repos/knsv/mermaid/issues/643","id":375597267,"user":{"login":"mehertz","id":3106180,"avatar_url":"https://avatars2.githubusercontent.com/u/3106180?v=4","gravatar_id":"","url":"https://api.github.com/users/mehertz","html_url":"https://github.com/mehertz","followers_url":"https://api.github.com/users/mehertz/followers","following_url":"https://api.github.com/users/mehertz/following{/other_user}","gists_url":"https://api.github.com/users/mehertz/gists{/gist_id}","starred_url":"https://api.github.com/users/mehertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehertz/subscriptions","organizations_url":"https://api.github.com/users/mehertz/orgs","repos_url":"https://api.github.com/users/mehertz/repos","events_url":"https://api.github.com/users/mehertz/events{/privacy}","received_events_url":"https://api.github.com/users/mehertz/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T09:45:29Z","updated_at":"2018-03-23T09:45:29Z","author_association":"NONE","body":"But I want to *add* a class. Looking at the Gantt chart, the classes for the boxes are hard coded:\r\n\r\nhttps://github.com/knsv/mermaid/blob/master/src/diagrams/gantt/ganttRenderer.js#L151\r\n\r\nIf they are hard coded, how is this possible?"}}
{"actor":{"display_login":"mehertz"}}