Created
May 7, 2017 09:27
-
-
Save AlexanderKozhevin/9c2e4caa62951acfaab1d5914c0730f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
type: 'Line', | |
data: Chartdata['Scatter'], | |
chartPadding: { | |
top: 30, | |
right: 30, | |
bottom: 0, | |
left: 15 | |
}, | |
options: { | |
showLine: false, | |
axisX: { | |
labelInterpolationFnc: function(value: number, index: number): string { | |
return index % 13 === 0 ? W{value} : null; | |
} | |
} | |
}, | |
responsiveOptions: [ | |
['screen and (min-width: 640px)', { | |
axisX: { | |
labelInterpolationFnc: function(value: number, index: number): string { | |
return index % 4 === 0 ? W{value} : null; | |
} | |
} | |
}] | |
] | |
} | |
<x-chartist | |
[data]="charts[3].data" | |
[type]="charts[3].type" | |
[options]="charts[3].options" | |
[responsiveOptions]="charts[3].respOpt" | |
[events]="charts[3].events"> | |
</x-chartist> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment