核心图饼图上的重叠文本(overlapping text on the coreplot pie chart)
什么是防止核心图上重叠文本的最佳方法? 特别是当一些切片可能很小? 重叠的文字显示在底部,我认为它没有空间可以放在任何地方,因此必须将一个标签堆叠在另一个上面。
我可以减小饼图的大小,但是有更优雅的方法来实现这一目标吗?
标记
What is the best way to prevent overlapping text on coreplot? Especially when some of the slices may be quite small? The overlapping text appears at the bottom, I think that it runs out of space to put it anywhere and thus must pile one label on top of the other.
I could reduce the size of the pie chart, but is there a more elegant way of achieving this?
Mark
原文:https://stackoverflow.com/questions/13636158
更新时间:2022-09-16 19:09
最满意答案
试着逃避
:
用\\
(如果那不行,试试单\
)jjsPlumb.connect({source:"j_idt20\\:0", target:"j_idt20\\:1"});
要么
通过web.xml中的以下上下文参数更改JSF默认UINamingContainer分隔符。 例如
<context-param> <param-name>javax.faces.SEPARATOR_CHAR</param-name> <param-value>-</param-value> </context-param>
try to escape the
:
with\\
(if that wont work try single\
)jjsPlumb.connect({source:"j_idt20\\:0", target:"j_idt20\\:1"});
or
change the JSF default UINamingContainer separator by the following context param in web.xml. E.g.
<context-param> <param-name>javax.faces.SEPARATOR_CHAR</param-name> <param-value>-</param-value> </context-param>
相关问答
更多-
jsplumb动画连接线(jsplumb animate connector lines)[2022-11-02]
让我们来制作新的演示, HTML端:Window 1Window 2 -
试着逃避:用\\ (如果那不行,试试单\ ) jjsPlumb.connect({source:"j_idt20\\:0", target:"j_idt20\\:1"}); 要么 通过web.xml中的以下上下文参数更改JSF默认UINamingContainer分隔符。 例如
javax.faces.SEPARATOR_CHAR - 获取以前的jsPlumb实例并在jquery中创建与它的连接(Get the previous jsPlumb instance and create connection to it in jquery)[2022-03-28]
我认为一个简单的解决方案是拥有一个全局变量。 每当您要添加新节点时,将其id存储在此变量中。 在创建新节点时,使用已从此变量添加的id。 祝一切顺利 :-) I think a simple solution will be having a global variable. Whenever you will add a new node store its id in this variable. and while creating a new node use already added id fr ...要启用拖动Div,必须绝对定位。 更多信息检查jsplumbs doc。 你的工作小提琴 To enable dragging your Div ...在Dojox之上使用JsPlumb(Using JsPlumb on top of Dojox)[2022-06-04]
我有兴趣为dojo做一个jsplumb的端口。 我甚至不认为道场的gfx在这里发挥作用。 它主要是需要移植的核心功能。 与jquery中的大多数核心函数类似(例如,常见的jquery $()函数)。 如果您仍然感兴趣,或者已经开始研究它,请告诉我。 谢谢! We have written dojo adapter for jsPlumb ( which works for most of the functionality), You can get source code at github不确定这是否是你的整个问题,但我认为makeSource和makeTarget将id作为第一个参数,所以我尝试将整个html包装在并调用jsPlumb.makeSource("foo", {...})和jsPlumb.makeTarget("foo", {...}) 。 我也没有好运,实际上让它在jsfiddle上正确显示。 Not sure if this is your entire problem, but I think makeSource and make ...得到这个工作,我想分享它为任何人的未来参考。 我已将我的解决方案上传到github,其中work.html文件与此问题相关。 Got this to work and I would like to share it for future references for anyone. I've uploaded my solution to github where the work.html file relates to this question.jsPlumb和Bootstrap网格(jsPlumb and Bootstrap grids)[2023-07-05]
您正在混合jQuery库(3.2.1和1.9.1),并且您正在使用旧版本的jsplumb。 jsPlumb.ready(function() { var common = { connector: ["Flowchart"], anchor: ["Left", "Right"], endpoint:"Dot" }; jsPlumb.connect({ source:"A", targe ...根据文档,源和目标都应该是端点。 您只将目标添加为端点。 没有测试,但它应该是这样的: jsPlumb.ready(function() { var container1 = jsPlumb.setContainer("StagesSchemeContainer"); var endPoint1 = jsPlumb.addEndpoint("StagesSchemeEndpoint1"); var endPoint2 = jsPlumb.addEndpoint("StagesSch ...我在端点选项中缺少maxConnections:-1 ! i was missing maxConnections:-1 in the End Point Options!相关文章
更多- SVG文本text
- 网络挖掘技术——text mining
- JFreeChart创建饼图PieChart
- java.text.DecimalFormat 的问题
- JFreeChart 创建三维/3D饼图/条形图
- 企业级搜索引擎Solr 第二章 Schema和文本分析(Schema and Text Analysis)[2]
- Solr官方文档系列——Text Analysis
- Django and full-text search
- JFreeChart创建线型图LineChart
- JFreeChart创建条形图BarChart
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)