harshilparmar
7019a1149d
Change logger to log
2021-02-06 15:56:05 +05:30
Knut Sveidqvist
a4bf85b1b6
#1542 Making sure config and directives works for overriding theme variables using initialize call or directives + tests
2020-07-29 18:38:59 +02:00
chris moran
771bf78576
Fixed parsers to use the correct type name in close_directive
...
Added directive support to pie
(Refactored pie parsing to be a bit more clear)
Added more unit tests to pie
2020-07-27 13:24:23 -04:00
chris moran
b9fa2f4125
Added directive parsing to gannt
...
Ensured tests pass
2020-07-27 10:16:41 -04:00
Knut Sveidqvist
7e9ab546eb
Fix for broken build, issue with config use in flowcahart and gantt diagram
2020-07-02 22:34:13 +02:00
Knut Sveidqvist
2af1f9a9d3
Fix for broken build, issue with config use in flowcahart and gantt diagram
2020-07-02 22:27:03 +02:00
Abhijeet Pathak
5f56db6f6e
Fix for the issue 1005
...
(https://github.com/mermaid-js/mermaid/issues/1005 )
A new attribute 'order' has been introduced in the task which records
the serial number of task in the script.
In ganttRenderer.js, the tasks are sorted by stratTime attribute.
The function which calculates 'y' for task rectangles, lables etc.
has been modified to correctly position it.
2020-06-20 18:03:48 +05:30
Toan
28dcc781b4
Chart Node click event support key-path value for function callback
2020-06-13 17:41:52 +07:00
Marc Faber
dcfa903176
#1290 Hide/style today marker in gantt diagram
2020-04-05 01:59:18 +02:00
Knut Sveidqvist
a1626927cc
Merge pull request #1136 from keenanjt33/feature/921_callback_params
...
Gantt: Add support for callback with parameters
2020-01-01 00:29:00 -08:00
Sophie Dankel
7b12c7a07d
Fix infinite loop caused by date iteration
2019-12-24 19:01:29 -08:00
Keenan Tullis
c7ec8190fb
Gantt callback: default to node id as callback arg
2019-12-10 15:25:28 -05:00
Itprdev
78e4fead49
Feature request 552. Gnatt chart task with multiple dependencies
2019-11-28 16:53:33 +02:00
Knut Sveidqvist
a5cc1e804b
#1031 Adding stricter code checks
2019-10-27 15:24:56 +01:00
knsv
cf05a8d8fa
#931 Updating code to align witn new code standard
2019-09-12 12:57:36 -07:00
knsv
7b335fb62e
#901 Fixed the issue with multiple calls to bind the click functions. Also sanitized the tooltips so that no tags are allowed in them for ( #847 ).
2019-08-11 03:26:44 -07:00
knsv
cf686c445c
Standard fixes
2019-07-22 05:23:03 -07:00
knsv
f11d1a6fa1
#847 Better sanitizing of urls
2019-07-22 02:18:09 -07:00
knsv
c33533082c
#847 Handling of embedded javascript in links
2019-07-21 07:39:36 -07:00
Knut Sveidqvist
c818dbb5a0
Setting default securityLevel to strict, updated docs in mermaidAPI
2019-07-14 06:07:27 -07:00
Knut Sveidqvist
31576f8f55
#847 Removing </> in text
2019-07-13 22:50:53 -07:00
Jason Würtz
047760ad4b
chore(ganttDb): export durationToDate so it can be tested
2019-07-07 17:17:05 -03:00
Jason Würtz
67bb5ffa73
refactor(ganttDb.js): extract durationToDate function
...
codeclimate was complaining about the getEndDate function so I split it up
2019-07-07 17:01:45 -03:00
Jason Würtz
660e0f3d8b
refactor(ganttDb): separate out the inclusive end date toggle
2019-07-07 16:27:28 -03:00
Jason Würtz
ee766ec88e
fix(ganttDb): change manual end time determination
...
now it just checks if a valid end time was provided and instead of the comparison that went on before.
This needed to be done in order to support manual end dates with inclusive set to true since they don't match anymore as the 'manually' supplied end date is increased by one
2019-07-06 12:28:56 -03:00
Jason Würtz
63096a5c26
feat(ganttDb.js): add 1 day to end dates if inclusive is set to true
...
This will essentially keep all old behavior the same while still allowing users to specify if they want inclusive end dates
2019-07-06 12:27:28 -03:00
Jason Würtz
6d20ccccd0
feat(ganttDb.js): add getters for excludes,sections and date format
2019-07-06 11:54:18 -03:00
Jason Würtz
6dce255393
fix(ganttDb.js): clear formats and excludes on clear
2019-07-06 11:30:13 -03:00
Knut Sveidqvist
e0a70bd352
Merge of latest changesin to pr #804
2019-06-09 12:40:37 -07:00
Knut Sveidqvist
3e6396cc4b
Merged in recent updates
2019-06-09 10:53:46 -07:00
Knut Sveidqvist
df7dc21893
Merge branch 'no-bloat'
2019-06-09 07:00:29 -07:00
Fabio Spampinato
9290aa2b61
Replaced “moment” with “moment-mini"
2019-06-04 03:14:35 +02:00
abzicht
63184d53c1
Argument processing now allows double quoted strings
2019-03-10 13:41:59 +01:00
abzicht
91651ca6ce
Fixed lint issues
2019-03-09 23:17:13 +01:00
abzicht
b322a964ca
Code refactoring: Pushing functions is now to the funs list is now available in a separate function. Also, setLink no longer using the .link attribute and instead calls links directly via window.open
2019-03-09 23:13:53 +01:00
abzicht
10057217cb
Fixed issue which only passed the first char of functionargs to the function by splitting the functionargs by commas
2019-03-09 20:07:51 +01:00
abzicht
0c66e1b5b9
Added href support and improved callback argument handling
2019-03-09 12:11:56 +01:00
abzicht
67ee649d99
Added setLink and setClickEvent to gantt
2019-03-08 00:19:53 +01:00
João Paulo Poffo
afeb3b53c9
Simplified methods
2019-02-12 17:52:18 -02:00
João Paulo Poffo
8ce658416b
Simplify to codeclimate
2019-02-12 17:40:57 -02:00
João Paulo Poffo
6e846ac3e5
Defined a renderEndDate
2019-02-12 17:29:38 -02:00
João Paulo Poffo
58df72984f
Standard
2019-02-07 12:05:09 -02:00
João Paulo Poffo
5bfddcc444
Complexity
2019-02-07 11:27:01 -02:00
João Paulo Poffo
a99b31a61d
Standard
2019-02-07 11:22:46 -02:00
João Paulo Poffo
8a8b7bd48c
Fixed weekend between dates; Manual endtimes; Additional testing
2019-02-07 11:21:00 -02:00
João Paulo Poffo
1d04c7e1fe
Standard JS
2019-02-06 17:25:39 -02:00
João Paulo Poffo
9f1c37ecb3
Codeclimate - Complexity
2019-02-06 17:24:20 -02:00
João Paulo Poffo
8e8651a0e1
Comments
2019-02-06 17:12:05 -02:00
João Paulo Poffo
a8e9f21035
Standard
2019-02-06 17:09:59 -02:00
João Paulo Poffo
418ac501aa
Added excludes weekdays to gantt
2019-02-06 16:54:09 -02:00