Magento管理图表样式

时间:2013-03-06 06:32:51

标签: css magento charts styles admin

是否有更改在magento管理图表中呈现的图像?我基本上想要改变颜色和阴影。感谢enter image description here

1 个答案:

答案 0 :(得分:4)

你可以在getChartUrl()方法中找到app / code / core / Mage / Adminhtml / Block / Graph.php中的颜色。

$params = array(
        'cht'  => 'lc',
        'chf'  => 'bg,s,f4f4f4|c,lg,90,ffffff,0.1,ededed,0',
        'chm'  => 'B,f4d4b2,0,0,0',
        'chco' => 'db4814'
    );

f4f4f4 =>背景颜色

f4d4b2 =>线的颜色

db4814 =>线下部分的颜色

要更改此设置,只需在您自己的模块中重写此块即可更改此功能

Here are a test with other colors