@ecan-bi/datav 1.4.10 → 1.4.11

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/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.4.10 */
1
+ /*! @ecan-bi/datav@1.4.11 */
2
2
  import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, onBeforeUnmount, normalizeClass as normalizeClass$1, normalizeStyle as normalizeStyle$1, createElementVNode, createCommentVNode, Fragment, renderList, provide, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, reactive, vModelText, getCurrentInstance, onDeactivated, isRef, onActivated, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -27153,7 +27153,8 @@ const PivotTableContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render
27153
27153
  xAxisLabelShow: !0,
27154
27154
  tooltipTextStyleColor: "",
27155
27155
  customPoint: "",
27156
- axisMarkPoint: []
27156
+ axisMarkPoint: [],
27157
+ markPointFormatter: "{x}, {y}"
27157
27158
  }, valueLineComponentProps = transformToComponentProps(valueLineProps), valueLineEvents = ["click", "refreshData", "resetRecord"];
27158
27159
  use([
27159
27160
  CanvasRenderer,
@@ -27413,6 +27414,27 @@ const _sfc_main = defineComponent({
27413
27414
  var T;
27414
27415
  const C = {
27415
27416
  symbol: "circle",
27417
+ tooltip: {
27418
+ trigger: "item",
27419
+ formatter: (N) => {
27420
+ let G = "", R = e.markPointFormatter;
27421
+ R === "" && (R = "{x}, {y}");
27422
+ const { data: { coord: q = [] } } = N || {};
27423
+ return G += useVariablesInText(
27424
+ R,
27425
+ {
27426
+ textData: {
27427
+ x: q[0] || 0,
27428
+ y: q[1] || 0
27429
+ }
27430
+ },
27431
+ {
27432
+ useNewline: !0,
27433
+ useSpace: !0
27434
+ }
27435
+ ), G += "<br/>", G;
27436
+ }
27437
+ },
27416
27438
  data: []
27417
27439
  }, { axisMarkPoint: L = [] } = e;
27418
27440
  for (const N of L) {