我必须在 Highchart 图例值中去除这些标签。请查看图例值:
data: [
{/literal}
{foreach from=$value[2] item=an key=a}
{literal}
{name: '{/literal}{$a}:{$an}{literal}',y: {/literal}{$an}{literal}, color: '#6B8E23'},
{/literal}
{/foreach}
{foreach from=$value[1] item=foo key=k name=myloop}
{assign var=op value=$smarty.foreach.myloop.index}
{assign var=cor value=$colors.$op}
{literal}
{name: '{/literal}{$k}:{$foo}{literal}',y: {/literal}{$foo}{literal}, color: '{/literal}{$cor}{literal}'}
{/literal}
{if $op le $count},{/if}
{/foreach}
{literal}
]
请找到附件图片供您参考