需要一些关于设计显示元素波长的动态图表的提示
我的 Flex 项目开发面临一个非常有趣的挑战。
我现在有一个实验向导,它由三个状态组成。在第一个状态中,用户从周期表中选择他们感兴趣的元素。
到了第二阶段,现在我们有了用户在第一状态下选择的元素,这些元素显示在列表A'中,用户可以从那里选择元素。另外,我有一个 xml 文件,其中包含元素周期表中所有元素的强度和波长
现在我的挑战是,我需要在那里构建一个动态图像来显示用户从列表 A' 中选择的元素的强度,并且还在该图像上显示了相邻(就波长而言)10个元素的强度。X轴是波长,Y轴是强度。所以这里的相邻基本上意味着元素具有相邻的波长值。
所有的强度和波长数据都可以从xml文件中读取,但是我真的很困惑要使用什么样的组件以及如何使其动态显示,所以请提供一些建议,预先感谢。
I have a very interesting challenge here for my Flex project development.
I now have an experiment wizard which consists of three states.In the first state,the user selects the elements they are interested from the periodic table.
When it comes to the second stage,now we have the elements that the user selected in the first state,and these elements are shown on a list A',the user can select an element from there. Also,I have an xml file that has the intensities and wavelengths for all the elements in the periodic table
Now my challenge is ,I need to build a dynamic image there to show the intensity of the element that the user selects from list A',and also show the neighboring(in terms of the wavelength) 10 elements' intensities on this image too.The X-axis is the wavelength while the Y-axis is the intensity.So the neighboring here basically means the elements has neighboring wavelength values.
All the intensity and wavelength data can be read from the xml file,but I am really stuck here from what kind of component to use and how to make it shown dynamically,so please offer some suggestions please,thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
阐明您的 Flex 版本 3 或 4。
阅读本文以使用核心组件
http://livedocs.adobe.com/flex/3/html/help.html?content=Part7_DataVis_1.html
在其他情况下,您可以尝试使用原始
Graphics
组件来根据需要绘制线/点/图等,或查找一些第三方组件,例如 http://flare.prefuse。组织/Clarify your flex version 3 or 4.
Read this to use core components
http://livedocs.adobe.com/flex/3/html/help.html?content=Part7_DataVis_1.html
In other cases you could try to use raw
Graphics
component to draw lines/points/plots etc. as you want or look for some 3rd party components like http://flare.prefuse.org/