4
wordcloud를 사용하고 있습니다. 단어를 무시하지 않고 단어 구름으로 표시하려는 단어 세트를 전달하는 곳입니다. 예 : "text": "좋은 사람" "you", "are", "a", "good", "person"과 같은 모든 단어. 어떻게해야합니까 ?? 이것에 대한 모든 문서는 어디에 있습니까?ZingChart가 wordcloud에있는 모든 단어를 표시하지 않습니다
wordcloud를 사용하고 있습니다. 단어를 무시하지 않고 단어 구름으로 표시하려는 단어 세트를 전달하는 곳입니다. 예 : "text": "좋은 사람" "you", "are", "a", "good", "person"과 같은 모든 단어. 어떻게해야합니까 ?? 이것에 대한 모든 문서는 어디에 있습니까?ZingChart가 wordcloud에있는 모든 단어를 표시하지 않습니다
전체 공개 저는 ZingChart 팀원입니다.
기본값이 2 인 min-length
이라는 속성이 있습니다. 값을 1 또는 0으로 설정할 수 있습니다. gallery에 몇 가지 멋진 예가 있습니다. 또한 단어 구름 문서 here도 있습니다.
var myConfig = {
"graphset":[
{
"type":"wordcloud",
"options":{
"text":"you are a gg good person",
"max-items":200,
"min-length":1
}
}
]
};
zingchart.render({
\t id : 'myChart',
\t data : myConfig,
\t height: "100%",
\t width: "100%"
});
html,body,#myChart{
height: 100%;
width: 100%;
}
<!DOCTYPE html>
<html>
\t <head>
\t <!--Assets will be injected here on compile. Use the assets button above-->
\t \t <script src= "https://cdn.zingchart.com/zingchart.min.js"></script>
\t \t <script> zingchart.MODULESDIR = "https://cdn.zingchart.com/modules/";
</script>
\t <!--Inject End-->
\t </head>
\t <body>
\t \t <div id='myChart'></div>
\t </body>
</html>
감사합니다 .... 정말 깔끔한 근무 – Amalpriya