当前位置:网站首页>D3.js 学习
D3.js 学习
2022-07-25 22:11:00 【学习使我快乐——玉祥】
Vue中 引入使用 D3.js_明天也要努力的博客-CSDN博客_d3.js vue
先学一下,后续整理
<template>
<div class="full" style="background-color: #d2d2d2;padding:30px;text-align: center;">
<svg class="svg_pane" width="200" height="200" viewBox="0 0 200 200">
<rect x="50" y="50" width="100" height="100" fill="yellow" stroke-linejoin="round" rx="5" ry="5" ></rect>
<circle cx="100" cy="100" r="20" fill="green"></circle>
</svg>
<svg class="svg_pane" width="200" height="200">
<polyline
points="50,10 80,90 10,30 90,30 20,90"
stroke="#fb3"
stroke-width="3"
fill="black">
</polyline>
</svg>
<svg class="svg_pane" width="200" height="200">
<polygon
points="50,10 80,90 10,30 90,30 20,90"
stroke="#fb3"
stroke-width="3"
fill="transparent">
</polygon>
</svg>
<svg class="svg_pane" width="200" height="200">
<path d="M 10 10 L 180 180 C40,5 40,140 100,100 " stroke="#fb3" stroke-width="4" fill="transparent"></path>
</svg>
<svg class="svg_pane" width="200" height="200">
<rect x="0" y="0" width="100" height="100" fill="#feac5e">
<animate attributeName="x" from="-100" to="200" dur="2s" repeatCount="indefinite" />
</rect>
</svg>
</div>
</template>
<script>
export default {
name: "D3Example",
}
</script>
<style scoped>
.svg_pane{
background-color: white;
box-shadow: 2px 2px 5px 5px #828282;
margin-right: 10px;
}
</style>
边栏推荐
- jsp九大内置对象
- What is partition and barrel division?
- C语言游戏 双缓存解决闪屏问题 详细总结[通俗易懂]
- SQL基本语句 DQL select与提取 DML插入删除
- Don't know mock test yet? An article to familiarize you with mock
- synchronized与volatile
- [fan Tan] those stories that seem to be thinking of the company but are actually very selfish (I: building wheels)
- 手机端微信发朋友圈功能测试点总结
- [Fantan] how to design a test platform?
- Application of breakthrough thinking in testing work
猜你喜欢

Having met a tester with three years' experience in Tencent, I saw the real test ceiling

MySQL - subquery - column subquery (multi row subquery)

How to implement an app application to limit users' time use?

Application of breakthrough thinking in testing work

2022 love analysis ― bank digitalization practice report

On the difference between break and continue statements

Flex layout

After 2 years of functional testing, I feel like I can't do anything. Where should I go in 2022?

3day

磁盘空间的三种分配方式
随机推荐
MySQL --- 子查询 - 列子查询(多行子查询)
synchronized与volatile
面了个腾讯三年经验的测试员,让我见识到了真正的测试天花板
VIM usage record
The technical aspects of ByteDance are all over, but the result is still brushed. Ask HR why...
Redis为何选择单线程?
[dinner talk] those things that seem to be for the sake of the company but are actually incomprehensible (2: soft quality "eye edge" during interview)
磁盘空间的三种分配方式
6-17漏洞利用-反序列化远程命令执行漏洞
Wechat applet application development competition works comprehensive development record - Jinlu cultural tourism (cloud development - Overview)
All you want to know about interface testing is here
[fan Tan] after the arrival of Web3.0, where should testers go? (ten predictions and suggestions)
Wechat card issuing applet source code - automatic card issuing applet source code - with flow main function
『SignalR』. Net using signalr for real-time communication
What have I experienced to become a harder tester than development?
6-17 vulnerability exploitation - deserialization remote command execution vulnerability
Three ways to allocate disk space
Golang: MVC models
[go basics 02] the first procedure
How many bytes does Boolean occupy?