GithubHelp home page GithubHelp logo

bx-docs's People

Contributors

galenjiang avatar heiniuhaha avatar kreja avatar leannechn avatar mytrip avatar olvvlo avatar scorpiozzy avatar shmilyxi avatar ssfxz avatar tankpt avatar thding avatar weepy3641 avatar xiaran030 avatar xiaran113 avatar

Stargazers

 avatar

Watchers

 avatar

bx-docs's Issues

Tooltip自定义

你好,如果在 containerTpl 里面 添加更多的数据 ,例如在title下方定义更多信息,又该如何赋值?(不单单标题,还需要更多的信息)

tooltip无法与鼠标移动同步是为什么?

一个页面有三个图标,每个图表设置了tooltip的crosshairs属性之后,鼠标明明已经移动到后一个区域了,信息框里还是显示前一个区域的数值,导致最后一个区域或者点无法查看数值

Could you please provide English document?

I have introduced this one into my project as it is really well documente.
But my boss denied it as all document is written in Chinese, not convinient for further maintain,

自定义主题没效果

自己定义的fontFamily没显示效果

const FONT_FAMILY = '"DINalternate-bold", "BlinkMacSystemFont", "Roboto", "Helvetica Neue", Helvetica, Arial, "PingFang SC","-apple-system", "Hiragino Sans GB", "Source Han Sans CN", Noto Sans CJK SC, Microsoft YaHei, Microsoft Jhenghei, SimHei, STXihei, YouYuan, sans-serif !important';
const Theme = {
animate:false,
fontFamily: FONT_FAMILY,
colors:{},
shapes:{},
}
BizCharts.setTheme(Theme);

update legand.md

fix method of itemFormatter

itemFormatter={(val) => {
return return val + "xxx"; // val 为每个图例项的文本值
}}
/>

itemFormatter 这个属性用法写错了

文档中是这样写的

<Legend
    itemFormatter(val) {
      return val + "xxx"; // val 为每个图例项的文本值
    }
/>

这样子写会报错, 应该

<Legend
    itemFormatter = {val => {
      return val + "xxx"; // val 为每个图例项的文本值
    }}
/>

bug:slider插件onChange时间戳在**有8小时时差,导致一天数据缺失

dv.transform({
type: "filter",

callback(obj) {
  const time = new Date(obj.time).getTime(); // !注意:时间格式,建议转换为时间戳进行比较

  return time >= ds.state.start && time <= ds.state.end;
}

});

// 东八区 时间戳的8小时时区差异 28800000ms 此处需要补全

应该为 return time >= ds.state.start && time <= ds.state.end + 28800000;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.