@ecan-bi/datav 1.0.67 → 1.0.69

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
@@ -3702,18 +3702,19 @@ const _sfc_main$c = defineComponent({
3702
3702
  const style2 = usePickComponentStyle(props2);
3703
3703
  const emitEvent = useEmitEvent(props2);
3704
3704
  const click = emitEvent("click", () => {
3705
+ const url = unref(myHref);
3705
3706
  if (props2.target === "event") {
3706
3707
  window.parent.postMessage({
3707
3708
  type: "openPage",
3708
- url: unref(myHref)
3709
+ url
3709
3710
  }, "*");
3710
3711
  }
3711
3712
  });
3712
3713
  const myText = computed(() => useVariablesInText(props2.text));
3713
- const myHref = computed(() => useVariablesInText(props2.href));
3714
+ const myHref = computed(() => useVariablesInText(props2.href) || null);
3714
3715
  const myTarget = computed(() => {
3715
3716
  const target = props2.target;
3716
- if (target === "event") {
3717
+ if (target === "event" || unref(myHref) == null) {
3717
3718
  return void 0;
3718
3719
  } else {
3719
3720
  const map = {
@@ -4530,6 +4531,9 @@ const barProps = {
4530
4531
  xAxisSplitLineShow: true,
4531
4532
  xAxisSplitLineStyleColor: "#333",
4532
4533
  xAxisLabelColor: "#333",
4534
+ xAxisLabelWidth: void 0,
4535
+ xAxisLabelRotate: 0,
4536
+ xAxisLabelOverflow: "none",
4533
4537
  xAxisLineStyleColor: "#333",
4534
4538
  xAxisTickShow: true,
4535
4539
  yAxisSplitLineShow: true,
@@ -4683,7 +4687,11 @@ const _sfc_main$9 = defineComponent({
4683
4687
  }
4684
4688
  },
4685
4689
  axisLabel: {
4686
- color: props2.xAxisLabelColor
4690
+ color: props2.xAxisLabelColor,
4691
+ interval: 0,
4692
+ rotate: props2.xAxisLabelRotate,
4693
+ width: props2.xAxisLabelWidth,
4694
+ overflow: props2.xAxisLabelOverflow
4687
4695
  },
4688
4696
  axisLine: {
4689
4697
  lineStyle: {