Simon Roberts
d7cec61e83
When hidePortfolioBalances scale the chart to the maximum price; avoids issue with resampling and using the last value
3 years ago
Simon Roberts
e1aded93e8
More minor cleanups (no functional change) ( #198 )
...
* Redundant type conversions
* Remove redudant type declarations. Inline one-line constructors. Remove unnecessary brackets.
* Simplify name - it's used via package name anyway
* Simplify variable initializations
* Change `var x uint = Y` to `x := uint(Y)`
* More shorthand initialization
3 years ago
Simon Roberts
9824c409ad
Feature/code cleanups ( #191 )
...
Lots of style/comment/redundancy cleanups. No functional change.
3 years ago
Miguel Mota
f375eec1eb
Rename org miguelmota → cointop-sh
3 years ago
Simon Roberts
95a31d5488
Save chart height after change.
3 years ago
Simon Roberts
caccc13ea0
Move maxChartWidth to ct.State
3 years ago
Simon Roberts
9a270d4b19
Allow configurable max_chart_width (default 175, if 0 use full width)
...
Start working on MaxTableWidth
3 years ago
Simon Roberts
562c5fd3f4
Merge pull request #184 from lyricnz/feature/x-labels
...
Show X axis labels on charts
3 years ago
Simon Roberts
5ef09ea40a
Handle 0/1 data items returned before resampling
3 years ago
Simon Roberts
2f616e2c35
When we are not aggregating multiple prices, use the oldest data available as the left hand side of chart, not the requested start.
3 years ago
Simon Roberts
72d2c997f5
Set "All Time" to 10 Years
3 years ago
Simon Roberts
9d8843389d
Use more accurate Duration for Year and Month ranges
3 years ago
Simon Roberts
6e99e9100f
Add time labels to X axis
3 years ago
Simon Roberts
370b9f3a56
Fix comments
3 years ago
Simon Roberts
49ac2fbc0f
Ask the chart how many data points it needs
3 years ago
Simon Roberts
065f23eba2
Merge branch 'master' into feature/resample-data
3 years ago
Simon Roberts
f38bc4ca3f
Continue from https://github.com/miguelmota/cointop/pull/165
3 years ago
Miguel Mota
6a02661dc6
Merge branch 'feature/duplicate-symbols-cache-fix' of https://github.com/lyricnz/cointop into lyricnz-feature/duplicate-symbols-cache-fix
3 years ago
Simon Roberts
9c86ae5de7
Use common function to generate cache keys, and fix GlobalMarketData vs Conversion caching bug
3 years ago
Simon Roberts
f2bab24d11
Remove portfolio balance from chart X-axis too
...
Hide percentChange24H when in hidePortfolioBalances mode
Update portfolio balances (private mode) screenshot
Scale portfolio chart (in hide-balances mode) so current-value is 1.0
3 years ago
Simon Roberts
a73b9ede17
Convert ct.debuglog() to logrus.Debug()
3 years ago
Miguel Mota
a86077e77e
Update debuglog method names
3 years ago
Simon Roberts
b32da4010c
Include currencyConversion in the cache key so changing currencies invalidates the cache. See https://github.com/miguelmota/cointop/issues/144
3 years ago
Simon Roberts
e7d32f18fc
Merge branch 'master' into bugfix/range-update-corrupt-cache
3 years ago
Simon Roberts
ba75de3c00
Cache ct.State.selectedChartRange and ct.State.currencyConversion so data-fetch is not impacted by concurrent change
3 years ago
Simon Roberts
bea5c67759
When rendering portfolio chart, only append data when resizing array
3 years ago
Miguel Mota
fa1fdca5e7
Row active colorscheme fix
3 years ago
Miguel Mota
e7531ca635
Add keybinding to toggle chart fullscreen
3 years ago
Miguel Mota
6605cc548c
Chart width data interpolation
3 years ago
Miguel Mota
295f163ae2
Update CoinMarketCap graph data endpoint
3 years ago
Miguel Mota
a9473e354c
Fix coin name to ID lookup. #81
3 years ago
Miguel Mota
093084e859
Full width highlight rows
3 years ago
Miguel Mota
415b4c1d94
Separate out different tables
4 years ago
Miguel Mota
394d35473d
Consolidate UI packages
4 years ago
Miguel Mota
d9ea155004
Add no-cache option
4 years ago
Miguel Mota
1ee3814f73
Add cache directory option
4 years ago
Miguel Mota
52be62a2c1
Add comments
4 years ago
Miguel Mota
7ad375667f
Disable hourly chart changes. Closes #52
4 years ago
Miguel Mota
f0187c3712
Fix names
4 years ago
Samyak Bakliwal
a417e4b092
Fixes miguelmota/cointop#48
4 years ago
Miguel Mota
ca1987a0f8
Return error on update callback
5 years ago
Miguel Mota
38187de57c
Fix chart update loader race condition. Closes #44
5 years ago
Miguel Mota
b61e2fdd84
Update method descriptions
5 years ago
Rigas Papathanasopoulos
b46cea5801
Make chart height adjustable
5 years ago
Miguel Mota
5f073fecf9
Navigation bug fixes. Fixes #41
5 years ago
Miguel Mota
f1e3f81ec0
Update isatty package to resolve #39
5 years ago
Miguel Mota
96cab2b405
Add chart loading label
5 years ago
Miguel Mota
592d061ee8
Create view structures
5 years ago
Miguel Mota
4ef4f7aa54
Clean up
5 years ago
Miguel Mota
29283b7d8e
table toggle fullscreen shortcut
5 years ago