UNPKG

quoslibero

Version:

FusionCharts JavaScript charting framework

1 lines 435 B
import{componentFactory}from'../../../../../../fc-core/src/lib';import Caption from'../../../../_internal/components/caption';export default(a=>{let b,c,d,e,f=a.getFromEnv('dataSource'),g=f.caption||{},h=f.subcaption||{},i=a.getFromEnv('getStyleDef');b=g.text||'',c=i(g.style&&g.style.text),d=h.text,e=i(h.style&&h.style.text);const j={caption:b,subCaption:d,captionCss:c,subCaptionCss:e};componentFactory(a,Caption,'caption',1,[j])});