Style fix for topAxis and added integration test

This commit is contained in:
Knut Sveidqvist
2021-04-25 10:41:59 +02:00
parent adab9819bd
commit f7750e5f04
3 changed files with 39 additions and 3 deletions

View File

@@ -616,7 +616,7 @@ const config = {
*| --- | --- | --- | --- | --- |
*| topAxis | See notes | Boolean | 4 | True, False |
*
***Notes:**when this flag is set date labels will be added to the
***Notes:** when this flag is set date labels will be added to the
top of the chart
*
***Default value false**.

View File

@@ -377,8 +377,8 @@ export const draw = function(text, id) {
.style('text-anchor', 'middle')
.attr('fill', '#000')
.attr('stroke', 'none')
.attr('font-size', 10)
.attr('dy', '1em');
.attr('font-size', 10);
// .attr('dy', '1em');
}
}