Ability to add footer to chart on the front-end
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 32/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, php, wordpress
调研方向
首先检查 issue 中描述的前端图表渲染和手动配置路径,然后将其与提供的 JavaScript workaround 和截图进行比较。完成后应提供一种受支持的方式,在页脚或页眉中显示图表数据源,同时不牺牲水平轴描述,并包含相关的配置行为。
由索引模型根据 Issue 内容生成。
描述
An enhancement to be able to add sources to the data of graphs (possible footer/header like in this screenshot -> http://prntscr.com/p24vpo )
However, there is a workaround with JS <<thanks @SilviuDinu>>(it modifies the horizontal axis description but if the description is needed, there is no solution) with the following code, trying JSON from google's API doesnt work in manual configuration.
<script type = "text/javascript">
var chartTitle = document.querySelectorAll(".visualizer-front svg g g text");
for (var i = 0; i < chartTitle.length; i = i + 1) {
if (chartTitle[i].innerHTML === 'Source: Data Insight') {
chartTitle[i].setAttribute('x', 120);
}
};
</script>
Refference -> https://secure.helpscout.net/conversation/942172660/200370?folderId=212385
- 主要语言
- PHP
- 星标
- 108
- 派生
- 29
- 平均合并
- 3 天 22 小时
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Codeinwp/visualizer 的其他 Issue
-
feature-request-triage
难度 4/5 3-5 天 新手友好度 64/100
Codeinwp/visualizer#1388 ·
维护者通常 1 天内回复
-
Action Scheduler queue cleanup fatals with "Unidentified action" after concurrent deletion可能已有人在做 @Alexia-Soare 于 13 天前认领。 未关闭bug-report bug-report-triage
Codeinwp/visualizer#1369 · 1 条评论 · 已指派 2 人 ·
维护者通常 1 天内回复
-
Add a Default value for font settings可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 25/100
Codeinwp/visualizer#1111 ·
维护者通常 1 天内回复
-
customer report doc-needed new feature
难度 5/5 一周以上 新手友好度 35/100
Codeinwp/visualizer#1058 · 4 条评论 ·
维护者通常 1 天内回复
-
question
难度 5/5 一周以上 新手友好度 15/100
Codeinwp/visualizer#1024 · 1 条评论 ·
维护者通常 1 天内回复
查看 Codeinwp/visualizer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
UX
难度 2/5 1-3 小时 新手友好度 72/100
ProfessionalWiki/NeoWiki#1573 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
endoflife-date/endoflife.date#11194 ·
维护者通常 1 天内回复