当前位置:网站首页>How to use the chart control of the b/s development tool devextreme - customize the axis position?
How to use the chart control of the b/s development tool devextreme - customize the axis position?
2022-06-29 17:40:00 【Interface development Starling】
DevExtreme Charts Control comes with an enhancement to the axis positioning logic , Developers can be anywhere on the diagram ( Not just its edges ) Locate the axis and specify the intersection coordinates . for example , This feature allows developers to create quadrants or display axes in fixed positions during scrolling and zooming operations .
DevExtreme v22.1 Official download
Custom intersections
Usually , Use ‘position’ Property to specify that the edges of the axis must be rendered ( By default, the left and bottom edges ). under these circumstances , The axes intersect at the angle of the visible range , The visible range depends on the data points and scrolling / Scale coordinates .
In some cases , You may want to fix the axis to a specific value on its orthogonal axis . To achieve this , You can use “argumentAxis” and “valueAxis” Configure the new... Of the object customPosition attribute . In the following example , The shafts are fixed to each other 0 spot .
argumentAxis: {
customPosition: 0 // value at valueAxis
},
valueAxis: {
customPosition: 0 // value at argumentAxis
}
Axis offset
For some usage scenarios , You may want to display the axis in a fixed position independent of the current zoom level and scrolling position , You can use the new offset Option to specify the axis coordinates relative to its original intersection ( In pixels ). In the following example , The axes always intersect at the center of the chart's visible range :
argumentAxis: {
offset: -200 // a half of visible range height
},
valueAxis: {
offset: 390 // a half of visible range width
}
Multi axis support
If your chart contains multiple value axes , have access to customPositionAxis Option to set the name of the relevant numerical axis , You can use it as follows :
argumentAxis: {
customPosition: -10,
customPositionAxis: "leftAxis"
},
valueAxis: [{
position: "right"
},{
position: "left",
name: "leftAxis"
}]
DevExtreme With high performance HTML5 / JavaScript A collection of widgets , So you can take advantage of modern Web Development stack ( Include React,Angular,ASP.NET Core,jQuery,Knockout etc. ) Build interactive Web Applications . from Angular and Reac, To ASP.NET Core or Vue,DevExtreme Includes comprehensive high performance and responsive UI A collection of widgets , But in the tradition Web And the next generation of mobile applications . The suite comes with a fully functional data grid 、 Interactive chart widget 、 Data editor, etc .
DevExpress Technology exchange group 6:600715373 Welcome to group discussion
边栏推荐
- Sectigo ov pan domain name certificate is 1590 yuan a year easy to use
- The fixed assets management system enables enterprises to dynamically master assets
- What value can SRM systems bring to the enterprise?
- Walk with love, educate and run poor families, and promote public welfare undertakings
- 跨境独立站语言unicode转希伯来语
- mysql.sock的概念是什么
- SAAS 服务的优势都有哪些
- It is the same that robots can win gold medals without maintenance and out of bounds
- 浏览器大尺寸截屏
- 【Try to Hack】Cookie和Session
猜你喜欢

Teach you how to install the latest version of mysql8.0 database on windows, nanny level teaching

mysql. What is the concept of sock

自动收售报机

DevCloud加持下的青软,让教育“智”上云端

What is the MySQL query view command

Does MySQL support foreign keys

mysql查询视图命令是哪个

Industry application of smart city based on GIS 3D visualization

selenium上传文件

序列检测器
随机推荐
Kali installation tutorial 2020
PancakeSwap技术:夹子机器人系统开发原理
如何使用B/S开发工具DevExtreme的图表控件 - 自定义轴位置?
Sword finger offer 13 Robot range of motion (BFS)
sequential detector
剑指 Offer 13. 机器人的运动范围 (BFS)
How to establish and use KUKA subroutines / functions
Master slave replication of MySQL
What are the usage scenarios for locks in MySQL
LeetCode 每日一题——535. TinyURL 的加密与解密
跨境独立站语言unicode转希伯来语
0 basic self-study STM32 (wildfire) - register lit LED
Cross border independent station language Unicode to Hebrew
软件快速交付真的需要以安全为代价吗?
R language uses GLM of mass package The Nb function establishes the negative binomial generalized linear model, and the summary function obtains the summary statistical information of the negative bin
R language uses user-defined functions to write deep learning linear activation functions and visualize linear activation functions
External automatic (PLC start robot)
自定义HandlerInterceptor拦截器实现用户鉴权
High landing pressure of "authorization and consent"? Privacy computing provides a possible compliance "technical solution"
[the sixth operation of modern signal processing]