Code Monkey home page Code Monkey logo

Comments (7)

AAChartModel avatar AAChartModel commented on June 15, 2024 1

WechatIMG14 大佬,我想问下这个左侧的黄色框区域的背景颜色怎么处理啊?因为我这个滑动有明显的透明度,主要是不想让看到有明显的透明度。

查看 AAScrollablePlotArea 类代码:

//Refer to online API document: https://api.highcharts.com/highcharts/chart.scrollablePlotArea
@interface AAScrollablePlotArea : NSObject

AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, minHeight)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, minWidth)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, opacity)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, scrollPositionX)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, scrollPositionY)

@end

关键内容:

 AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, opacity)

在线文档:

也就是说, 通过 AAScrollablePlotArea 的属性 opacity 可设置这里的遮罩透明度.

from aachartkit.

AAChartModel avatar AAChartModel commented on June 15, 2024

1.y轴的数组数据背景颜色怎么进行设置呢?

Highcharts 默认似乎不支持直接设置 y 轴文字区域的背景色, 不知道你需要的是不是这种效果:

from aachartkit.

AAChartModel avatar AAChartModel commented on June 15, 2024
  1. 曲线怎么从开始画怎么设置从y轴开始画?不然有间隔看着怪怪的

参考:

from aachartkit.

chenzefu avatar chenzefu commented on June 15, 2024
  1. 曲线怎么从开始画怎么设置从y轴开始画?不然有间隔看着怪怪的

参考:

WeChata3f63cd16eeac9e0308f4f65ef5f4e29
大佬,我是想问下这个曲线可以往左边调一些吗?左边空的距离太大了

from aachartkit.

chenzefu avatar chenzefu commented on June 15, 2024

WechatIMG12
大佬,我是想问下这个距离可以设置吗? 我看评论这个好像说这2个的其中一个可以进行修改 spacingLeftSet/marginLeftSet ,但是还是不行的。我想设置曲线从底部的虚线对齐开始画,你能懂我的意思吗?

from aachartkit.

chenzefu avatar chenzefu commented on June 15, 2024

WechatIMG14
大佬,我想问下这个左侧的黄色框区域的背景颜色怎么处理啊?因为我这个滑动有明显的透明度,主要是不想让看到有明显的透明度。

from aachartkit.

AAChartModel avatar AAChartModel commented on June 15, 2024

请注意, 折线图滚动效果可能有点问题, Highcharts 官方至今未正式修复, 参考:

from aachartkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.