本来想写echarts初始化函数的,但最近因为要写一个地图与柱状图的混合方式,也就是每个省的地图上要有柱状图显示。于是仔细使用了一下地图。
1、地图的一些基本属性就不介绍了,还是那些style
2、地图数据的获取以及Series的加载和其他没有什么大的差异。地图数据都在map.js中,都可以自己看,也可以自己根据格式获取响应的数据。
这里主要想处理的是图例颜色与地图底图颜色怎么设置的问题。...
分类:
其他好文 时间:
2015-04-03 11:16:08
阅读次数:
301
A tale of two viewports — part twoshow page contentsIn this mini-series I will explain how viewports and the widths of various important elements work...
分类:
移动开发 时间:
2015-03-30 12:44:12
阅读次数:
185
练习3-65原文Exercise 3.65. Use the series
ln2 = 1- 1/2 + 1/3 - 1/4 + ……
to compute three sequences of approximations to the natural logarithm of 2, in the same way we did above for . How rapidly do the...
分类:
其他好文 时间:
2015-03-29 09:30:17
阅读次数:
165
练习3-59原文
代码a)(define (integrate-series s)
(stream-map * (stream-map / ones integers) s))b)(define sine-series (cons-stream 0 (integrate-series cosine-series)))
(define cosine-series (con...
分类:
其他好文 时间:
2015-03-28 23:19:21
阅读次数:
387
练习3-61原文
代码(define (reciprocal-series s)
(cons-stream 1 (scale-stream (mul-series (stream-cdr s)
(reciprocal-series s))...
分类:
其他好文 时间:
2015-03-28 23:17:09
阅读次数:
155
Repeated DNA Sequences问题:All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, i...
分类:
其他好文 时间:
2015-03-21 12:34:17
阅读次数:
135
【题目】
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the D...
分类:
其他好文 时间:
2015-03-20 12:56:36
阅读次数:
149
读了一周的echarts代码。
1、总体来说,echarts里面的代码还是比较通俗易懂的。
2、程序中series的处理都是遵循循环的方式,这点在刚开始的时候很让人迷惑。不管有没有用,都是循环一遍进行比较。当然考虑到series不会太多,不至于影响到性能。
3、对于series中的一些点线等设置处理上能够做进一步改进就更好了。像tooltip,geoCoord等在一个serie中定义,所有的...
分类:
其他好文 时间:
2015-03-19 18:27:08
阅读次数:
163
http://channel9.msdn.com/Series/MVA-Chinahttp://www.microsoftvirtualacademy.com/
分类:
其他好文 时间:
2015-03-18 17:59:42
阅读次数:
156
题目大意:
给定一个N*N的矩阵A和一个整数K,要求计算S = A + A^2 + A^3 + … + A^k。
思路:
分别用矩阵快速幂求出每一项的A^i,然后将每一项矩阵相加,考虑到k值很大,所有采用
二分求解。...
分类:
其他好文 时间:
2015-03-18 16:00:43
阅读次数:
150