ye fan
ye fan
目前只能将isNeedAnimate设为false来解决,但这样没了动画效果
> demo里有tableview啊demo会有这个问题吗 demo里没有tableview呀
还有CPAlignStyle能否多加几个枚举值,比如top、bottom。目前只要center,left,right,比如当showFrom为nil时,让视图紧贴vc顶部或者紧贴vc底部
@property (nonatomic, assign) BOOL isNeglect;//是否忽略showFrom为空不走位置判断,不影响其他逻辑 if (!_showFrom && _style.isNeglect==NO) { self.containerView.center = self.center; return; } case CPAlignStyleBottom: { CGRect frame = self.containerView.frame; frame.origin.y = self.frame.size.height - frame.size.height - safeInsets.bottom; self.containerView.frame...
``` func returnChartModelCha(_ maxInt:Double)-> AAOptions { aaChartModel = AAChartModel() .chartType(.area) .tooltipEnabled(true) .dataLabelsEnabled(false) .tooltipValueSuffix("℃") .animationType(.bounce) .markerSymbol(.circle) .markerSymbolStyle(.innerBlank) .markerRadius(3) .yAxisLabelsEnabled(false) .colorsTheme(["#E39B15","#1678FD"])//Colors theme .yAxisMax(maxInt) .categories(dateArr) .xAxisLabelsStyle(AAStyle(color: "#666666", fontSize: 10, weight: .regular)) .legendEnabled(false) .animationType(.easeOutCubic)...
``` func returnOptinos(_ model:AAChartModel) -> AAOptions { let wids = UIScreen.main.bounds.size.width-32 let opat = String.init(format: """ function (labelWidth, labelHeight, point) { let xPosition = point.plotX; let maxXPosition = \(wids) -...
折线图悬浮框的js代码设置font-weight不生效。 ![IMG_1588](https://user-images.githubusercontent.com/42810994/186604054-786ae854-b165-4117-a80e-b036b70eff85.jpg) `aaOptions.tooltip(AATooltip() .shared(true) .useHTML(true) .formatter(#""" function () { return this.points.reduce(function (s, point) { if (point.series.name == '1') { return s + '' + '● ' + point.y ; }else...
悬浮框的8-21还是粗体。js代码 color和font-size都生效了
折线图js里面的font-weight的大小写吗,试过了,不行, 饼图的是用itemStyle设置的,也不行
demo也报相同的错