问题描述
我想将工具提示安排为不重叠并且始终在 amcharts4 散点图上可见。
文档参考
[assembly: Dependency(typeof(FileAccessInterfaceImplementation))]
namespace XamarinPicker.UWP
{
public class FileAccessInterfaceImplementation : FileAccessInterface
{
public async Task<string> GetFileText(string filePath)
{
var stringContent = "";
try
{
var file = await StorageFile.GetFileFromPathAsync(filePath);
if (file != null)
{
stringContent = await Windows.Storage.FileIO.ReadTextAsync(file,Windows.Storage.Streams.UnicodeEncoding.Utf8);
}
}
catch (Exception ex)
{
Debug.WriteLine(ex.Message);
}
return stringContent;
}
}
}
显示 tooltipText 放置在系列上的示例实现没有提供所需的效果:
var text = await DependencyService.Get<FileAccessInterface>().GetFileText(@"C:\Users\xxxx\Desktop\test.txt");
需要的结果是这样的:
https://www.amcharts.com/docs/v4/concepts/tooltips/#Making_cursor_arrange_tooltips
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)