fix: style issue with dots

This commit is contained in:
Shivam Mishra 2021-06-03 09:39:49 +00:00 committed by GitHub
parent f19d15f112
commit a26a81c866
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "frappe-charts", "name": "frappe-charts",
"version": "2.0.0-rc16", "version": "2.0.0-rc17",
"main": "dist/frappe-charts.esm.js", "main": "dist/frappe-charts.esm.js",
"module": "dist/frappe-charts.esm.js", "module": "dist/frappe-charts.esm.js",
"browser": "dist/frappe-charts.umd.js", "browser": "dist/frappe-charts.umd.js",

View File

@ -3,7 +3,7 @@ import * as Charts from './chart';
let frappe = { }; let frappe = { };
frappe.NAME = 'Frappe Charts'; frappe.NAME = 'Frappe Charts';
frappe.VERSION = '2.0.0-rc16'; frappe.VERSION = '2.0.0-rc17';
frappe = Object.assign({ }, frappe, Charts); frappe = Object.assign({ }, frappe, Charts);

View File

@ -575,7 +575,7 @@ export function datasetBar(x, yTop, width, color, label = '', index = 0, offset
export function datasetDot(x, y, radius, color, label = '', index = 0, hideDotBorder = false) { export function datasetDot(x, y, radius, color, label = '', index = 0, hideDotBorder = false) {
let dot = createSVG('circle', { let dot = createSVG('circle', {
style: `fill: ${color} ${hideDotBorder ? `stroke: ${color}`: ''}`, style: `fill: ${color}; ${hideDotBorder ? `stroke: ${color}`: ''}`,
'data-point-index': index, 'data-point-index': index,
cx: x, cx: x,
cy: y, cy: y,