@antv/g2 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +3 -3
- package/README.zh-CN.md +2 -2
- package/dist/g2-lite.min.js +1 -10
- package/dist/g2.min.js +1 -10
- package/esm/component/axis.js +1 -1
- package/esm/component/axis.js.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/esm/interaction/brushHighlight.d.ts +1 -1
- package/esm/interaction/brushHighlight.js +15 -5
- package/esm/interaction/brushHighlight.js.map +1 -1
- package/esm/interaction/tooltip.js +74 -34
- package/esm/interaction/tooltip.js.map +1 -1
- package/esm/runtime/constant.d.ts +1 -0
- package/esm/runtime/constant.js +1 -0
- package/esm/runtime/constant.js.map +1 -1
- package/esm/runtime/plot.js +5 -1
- package/esm/runtime/plot.js.map +1 -1
- package/esm/theme/light.js +2 -1
- package/esm/theme/light.js.map +1 -1
- package/lib/component/axis.js +1 -1
- package/lib/component/axis.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/interaction/brushHighlight.d.ts +1 -1
- package/lib/interaction/brushHighlight.js +15 -5
- package/lib/interaction/brushHighlight.js.map +1 -1
- package/lib/interaction/tooltip.js +74 -34
- package/lib/interaction/tooltip.js.map +1 -1
- package/lib/runtime/constant.d.ts +1 -0
- package/lib/runtime/constant.js +2 -1
- package/lib/runtime/constant.js.map +1 -1
- package/lib/runtime/plot.js +5 -1
- package/lib/runtime/plot.js.map +1 -1
- package/lib/theme/light.js +2 -1
- package/lib/theme/light.js.map +1 -1
- package/package.json +5 -5
- package/src/component/axis.ts +1 -1
- package/src/index.ts +1 -0
- package/src/interaction/brushHighlight.ts +26 -3
- package/src/interaction/tooltip.ts +80 -33
- package/src/runtime/constant.ts +1 -0
- package/src/runtime/plot.ts +7 -2
- package/src/theme/light.ts +2 -1
package/src/theme/light.ts
CHANGED
|
@@ -278,6 +278,7 @@ export const Light: TC<LightOptions> = (options) => {
|
|
|
278
278
|
labelDirection: 'negative',
|
|
279
279
|
tickDirection: 'negative',
|
|
280
280
|
titlePosition: 'top',
|
|
281
|
+
labelAutoRotate: false,
|
|
281
282
|
titleSpacing: 12,
|
|
282
283
|
labelSpacing: 4,
|
|
283
284
|
titleTextBaseline: 'middle',
|
|
@@ -285,7 +286,7 @@ export const Light: TC<LightOptions> = (options) => {
|
|
|
285
286
|
axisBottom: {
|
|
286
287
|
gridDirection: 'negative',
|
|
287
288
|
labelDirection: 'positive',
|
|
288
|
-
labelAutoRotate:
|
|
289
|
+
labelAutoRotate: false,
|
|
289
290
|
tickDirection: 'positive',
|
|
290
291
|
titlePosition: 'bottom',
|
|
291
292
|
titleSpacing: 12,
|