@ -0,0 +1,2 @@
.idea/
plugin-specific-dashboard-style.iml
@ -10,12 +10,10 @@ import com.fr.web.struct.Atom;
public class SpecificDashboardStylePreview extends AbstractWebResourceProvider {
@Override
public Atom attach() {
return ReportComponent.KEY;
}
public Atom client() {
return SpecificDashboardStyleComponent.KEY;
public class SpecificDashboardStyleProcess extends AbstractWebResourceProvider {
return MainComponent.KEY;
@ -6,34 +6,17 @@
BI.config("bi.provider.template_style", function (p) {
p.inject({
fonts: [{
value: "adidasHeader",
value: "adidasHeader", // 为了改变图的样式,字体的命名应该和系统安装的字体名称一样
text: "自定义字体头字体"
}, {
value: "adidasBody",
text: "自定义字体Bodyzi字体"
}]
});
// 标题
BI.config("bi.provider.combo.font_family", function (p) {
// 默认属性配置
BI.config("bi.provider.widget.conf", function (p) {
axisWidth: 0,
hGridWidth: 0,
vGridWidth: 0
}],
style: {
})();