ICode9

精准搜索请尝试: 精确搜索
  • style的代码实例2022-08-16 15:02:38

    <body> <div id="app"> <!-- 1.普通的html写法 --> <h2 style="color: red; font-size: 30px;">哈哈哈哈</h2> <!-- 2.style中的某些值, 来自data中 --> <!-- 2.1.动态绑定style, 在后面跟上 对象类型 (重要)--> <h

  • vue配置reset.scss和global.scss2022-07-22 11:02:16

    reset.scss的目的是为了消除不同浏览器默认样式的不一致性。 global.scss规定了整个站点的公共样式、公共方法和公共参数等。 /* reset.scss */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big,

  • echarts 树图滚轮放大缩小文字2022-07-14 16:04:39

    放大缩小代码 使用getZr()注册和取消mousewheel事件 this.myChart.getZr().off("mousewheel") this.myChart.getZr().on("mousewheel", (param) => { let option2 = this.myChart.getOption(); if (option2.series[0]) { let zoom = option2.series

  • 常见窗函数的幅度谱、相位谱(DTFT)2022-07-09 09:35:05

          昨天手机弹窗新闻,日本前首相安倍街头演讲时遇刺,“百年未有之大变局”……       继续做题。       一、 在数字信号处理(DSP)中非常有用的四种有限长序列,也称为窗函数。将各自幅度谱归一化(即幅度最大值为1),然后画出图形。   二、上代码 1 // Book Author:Vinay

  • vscode的settting.json配置参考2022-07-01 07:32:49

    { "workbench.iconTheme": "material-icon-theme", "eslint.migration.2_x": "off", "[javascript]": { "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "files.autoSav

  • C# 画图表2022-06-15 16:31:36

    引用DocX   protected double bodyFontSize = 12d; protected float lineSpacing = 1.5f; protected float indentationFirstLine = 1f; protected double tableFontSize = 10d;   using (var document = DocX.Create(@"Toc2.docx"))

  • echarts 玫瑰图+中间文字2022-06-08 18:35:05

    option = { tooltip: { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' }, title: { text: '2673682', left: 'center', top: '50%', textStyle: { textAlign: '

  • matlab给坐标轴添加标、签添加单位2022-05-30 00:32:02

    为图添加标题和轴标签 - MATLAB & Simulink - MathWorks 中国 添加坐标轴标签 使用 xlabel 和 ylabel 函数向图中添加轴标签。 xlabel('-2\pi < x < 2\pi','FontSize',12) ylabel('Sine and Cosine Values','FontSize',12)

  • vue学习——绑定style样式2022-05-06 00:02:44

           总结:    样式对象就是styleObj里面的fontSize等,key不能随便写,要是存在的style的标签

  • echarts设置y轴markArea颜色区域2022-04-06 18:31:43

      代码: var option = { backgroundColor: 'rgba(1,202,217,.2)', color: ['#ff0000','yellow','#00ff00'], tooltip: { trigger: 'axis', axisPointer : { // 坐标轴指示器,坐标轴触发有效

  • 实现黑客帝国里的代码雨html2022-02-24 22:30:01

    <!DOCTYPE html> <html> <head>     <title>黑客帝国</title> </head> <body> <canvas id="canvas"></canvas>     <style type="text/css">         body {             margin: 0;          

  • 增加部分十二长生,优化代码2022-02-08 21:02:34

    import matplotlib.pyplot as plt import matplotlib import matplotlib.gridspec as gridspec matplotlib.rcParams['font.family'] = 'FangSong' from qimen3 import * y = int(input("请输入年份: ")) m = int(input("请输入月份: ")) d =

  • python matplotlib画图设置坐标轴刻度的字体大小2022-02-05 17:00:15

    import matplotlib.pyplot as plt plt.xticks([1, 2, 3, 4, 5, 6, 7, 8]) plt.xlabel("x轴的名字", fontsize=18) plt.ylabel("y轴的名字", fontsize=18) # fontsize=18为名字大小 plt.tick_params(labelsize=13) #刻度字体大小13

  • Qt获取屏幕DPI2022-01-28 03:31:07

    Qt在使用一些功能时需要用到DPI Qt5.6已经可以自适应DPI与手动设置DPI # 1. 使用MSVC // Get desktop dc HDC desktopDc = GetDC(NULL); // Get native resolution float horizontalDPI = GetDeviceCaps(desktopDc, LOGPIXELSX); float verticalDPI = GetDeviceCaps(desktop

  • echarts仪表盘进度2022-01-25 11:06:15

        option = { backgroundColor: '#000', tooltip: { formatter: "{b} : {c}%" }, series: [{ name: "", type: "gauge", startAngle: 180, endAngle: 0, center: ["50

  • Python:Matplotlib画图示例2022-01-20 16:02:10

    划分子图 import matplotlib.pyplot as plt plt.rcParams["font.family"] = "SimHei" fig = plt.figure(facecolor="lightgrey") # 背景颜色 plt.subplot(2, 2, 1) plt.title("子标题1") plt.subplot(2, 2, 2) plt.title("子标题2",

  • ReactNative(1.5){登陆页面练习}2022-01-14 22:32:45

    // rnc import React, { Component } from "react"; import { Text, View, StatusBar, ImageBackground, Image, TextInput, TouchableOpacity, StyleSheet, Dimensions, } from "react-native"; // 获取宽高 const { width, height } = Di

  • ReactNative(学习部署)2022-01-13 20:01:53

    RN环境部署视频 链接: https://pan.baidu.com/s/1Z5msrmcoLwrcHwQIRVqKKA 提取码: abwu  RN部署资源 链接: https://pan.baidu.com/s/19eFVsVXoB0viPUK1ZxhmEA 提取码: rphi  ReactNative学习 项目包目录结构  在RN代码编写过程中,开发者服务器是热更新服务器,代码写完之后

  • Vue2使用potcss-pxtorem2022-01-06 14:58:40

    引用的版本 "postcss-pxtorem": "^5.1.1" 根目录添加 postcss.config.js 文件 文件内容 module.exports = { plugins: { "postcss-pxtorem": { rootValue: 32, //根目录fontsize值 propList: ["*"],//需要转换的 * 全部 更多

  • java 给图片生成换行斜体水印2022-01-05 14:33:41

    package util; /** * @Author: CodingPeppa * @Description: * @Data: Created in 10:39 2022/1/4 * @Modified By: */ import org.apache.commons.lang.StringUtils; import sun.font.FontDesignMetrics; import java.awt.*; import java.awt.image.BufferedImage; i

  • SAS rtf STYLE常用设置2021-12-31 19:34:39

    sas官网资料 RTF destination: ‘~S =  { }  text1  ~S={ }  text2’’ title1 justify=left font='Courier New' color=red bcolor=green "#byval1" ; title2 '~S={fontsize=20 fontfamily="Courier New" fontweight=light} #byval1

  • 巧用echarts中的rich属性自定义样式2021-12-21 14:33:31

    rich使用 在echarts中rich主要是用于设置用户自定样式,我们可以在title,legend中使用rich 在做项目的时候需要自定义echarts图中字体样式 但是这个地方数字和文字的颜色是一样的,但是UI设计的图需要文字是黑色字体,数字是根据环形图的颜色一样 这里就需要用到rich属性来自定义字体的

  • Python处理示波器CSV表格数据、微软excel格式数据2021-12-16 19:30:22

    Python处理示波器CSV文件数据、微软excel文件数据 软件环境处理示波器导出的csv表格数据csv原始数据形式处理代码代码运行结果 处理Simulink导出的excel表格数据excel原始数据形式数据处理代码代码运行结果展示 软件环境 Sublimtext 3——Version 3.1.1 (便携版)Sub

  • <二>数据和方法的绑定2021-12-11 19:04:09

    上一节学习了参数和方法的定义,现在学习下vue的一些语法。 1、渲染 :{{  }},v-text,v-html的使用 <div id="app"> {{ message }} //插值表达式: 直接将定义的变量放在 hmtl中,使用两个中括号包起来,这里是可以使用js 函数,比如:message.join('') </div>

  • HDC2021技术分论坛:ArkUI 3.0让多设备开发更简单!2021-11-25 15:00:37

    作者:wanglei,华为UI编程框架技术专家   HarmonyOS自诞生以来,就是为满足分布式多设备应用场景而设计的,大到智慧屏、车机、平板,小到手机、手表。在多设备场景下进行应用UI界面开发,面临新的困难与挑战,如下图所示:   ​ 图1 多设备开发的挑战   为了使UI界面在色彩风格、屏幕尺寸、交

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有